version="2020.1">
<doc xml:space="preserve"
filename="ostree-core.c"
- line="2464">Create a new #OstreeCommitSizesEntry for representing an object in a
+ line="2441">Create a new #OstreeCommitSizesEntry for representing an object in a
commit's "ostree.sizes" metadata.</doc>
<source-position filename="ostree-core.h" line="560"/>
<return-value transfer-ownership="full" nullable="1">
<doc xml:space="preserve"
filename="ostree-core.c"
- line="2474">a new #OstreeCommitSizesEntry</doc>
+ line="2451">a new #OstreeCommitSizesEntry</doc>
<type name="CommitSizesEntry" c:type="OstreeCommitSizesEntry*"/>
</return-value>
<parameters>
<parameter name="checksum" transfer-ownership="none">
<doc xml:space="preserve"
filename="ostree-core.c"
- line="2466">object checksum</doc>
+ line="2443">object checksum</doc>
<type name="utf8" c:type="const gchar*"/>
</parameter>
<parameter name="objtype" transfer-ownership="none">
<doc xml:space="preserve"
filename="ostree-core.c"
- line="2467">object type</doc>
+ line="2444">object type</doc>
<type name="ObjectType" c:type="OstreeObjectType"/>
</parameter>
<parameter name="unpacked" transfer-ownership="none">
<doc xml:space="preserve"
filename="ostree-core.c"
- line="2468">unpacked object size</doc>
+ line="2445">unpacked object size</doc>
<type name="guint64" c:type="guint64"/>
</parameter>
<parameter name="archived" transfer-ownership="none">
<doc xml:space="preserve"
filename="ostree-core.c"
- line="2469">compressed object size</doc>
+ line="2446">compressed object size</doc>
<type name="guint64" c:type="guint64"/>
</parameter>
</parameters>
version="2020.1">
<doc xml:space="preserve"
filename="ostree-core.c"
- line="2494">Create a copy of the given @entry.</doc>
+ line="2471">Create a copy of the given @entry.</doc>
<source-position filename="ostree-core.h" line="565"/>
<return-value transfer-ownership="full" nullable="1">
<doc xml:space="preserve"
filename="ostree-core.c"
- line="2500">a new copy of @entry</doc>
+ line="2477">a new copy of @entry</doc>
<type name="CommitSizesEntry" c:type="OstreeCommitSizesEntry*"/>
</return-value>
<parameters>
<instance-parameter name="entry" transfer-ownership="none">
<doc xml:space="preserve"
filename="ostree-core.c"
- line="2496">an #OstreeCommitSizesEntry</doc>
+ line="2473">an #OstreeCommitSizesEntry</doc>
<type name="CommitSizesEntry"
c:type="const OstreeCommitSizesEntry*"/>
</instance-parameter>
version="2020.1">
<doc xml:space="preserve"
filename="ostree-core.c"
- line="2514">Free given @entry.</doc>
+ line="2491">Free given @entry.</doc>
<source-position filename="ostree-core.h" line="567"/>
<return-value transfer-ownership="none">
<type name="none" c:type="void"/>
<instance-parameter name="entry" transfer-ownership="full">
<doc xml:space="preserve"
filename="ostree-core.c"
- line="2516">an #OstreeCommitSizesEntry</doc>
+ line="2493">an #OstreeCommitSizesEntry</doc>
<type name="CommitSizesEntry" c:type="OstreeCommitSizesEntry*"/>
</instance-parameter>
</parameters>
</method>
</record>
+ <class name="ContentWriter"
+ c:symbol-prefix="content_writer"
+ c:type="OstreeContentWriter"
+ parent="Gio.OutputStream"
+ glib:type-name="OstreeContentWriter"
+ glib:get-type="ostree_content_writer_get_type"
+ glib:type-struct="ContentWriterClass">
+ <source-position filename="ostree-content-writer.h" line="29"/>
+ <method name="finish"
+ c:identifier="ostree_content_writer_finish"
+ throws="1">
+ <doc xml:space="preserve"
+ filename="ostree-content-writer.c"
+ line="124">Complete the object write and return the checksum.</doc>
+ <source-position filename="ostree-content-writer.h" line="32"/>
+ <return-value transfer-ownership="full">
+ <doc xml:space="preserve"
+ filename="ostree-content-writer.c"
+ line="131">Checksum, or %NULL on error</doc>
+ <type name="utf8" c:type="char*"/>
+ </return-value>
+ <parameters>
+ <instance-parameter name="self" transfer-ownership="none">
+ <doc xml:space="preserve"
+ filename="ostree-content-writer.c"
+ line="126">Writer</doc>
+ <type name="ContentWriter" c:type="OstreeContentWriter*"/>
+ </instance-parameter>
+ <parameter name="cancellable"
+ transfer-ownership="none"
+ nullable="1"
+ allow-none="1">
+ <doc xml:space="preserve"
+ filename="ostree-content-writer.c"
+ line="127">Cancellable</doc>
+ <type name="Gio.Cancellable" c:type="GCancellable*"/>
+ </parameter>
+ </parameters>
+ </method>
+ </class>
+ <record name="ContentWriterClass"
+ c:type="OstreeContentWriterClass"
+ glib:is-gtype-struct-for="ContentWriter">
+ <source-position filename="ostree-content-writer.h" line="29"/>
+ <field name="parent_class">
+ <type name="Gio.OutputStreamClass" c:type="GOutputStreamClass"/>
+ </field>
+ </record>
<function-macro name="DEPLOYMENT"
c:identifier="OSTREE_DEPLOYMENT"
introspectable="0">
version="2018.9">
<doc xml:space="preserve"
filename="ostree-repo.h"
- line="1492">GVariant type `s`. This key can be used in the repo metadata which is stored
+ line="1524">GVariant type `s`. This key can be used in the repo metadata which is stored
in OSTREE_REPO_METADATA_REF as well as in the summary. The semantics of this
are that the remote repository wants clients to update their remote config
to add this collection ID (clients can't do P2P operations involving a
This is a replacement for the similar metadata key implemented by flatpak,
`xa.collection-id`, which is now deprecated as clients which supported it had
bugs with their P2P implementations.</doc>
- <source-position filename="ostree-repo.h" line="1513"/>
+ <source-position filename="ostree-repo.h" line="1545"/>
<type name="utf8" c:type="gchar*"/>
</constant>
<function-macro name="MUTABLE_TREE"
</member>
</enumeration>
<constant name="RELEASE_VERSION"
- value="1"
+ value="2"
c:type="OSTREE_RELEASE_VERSION"
version="2017.4">
<doc xml:space="preserve"
version="2018.6">
<doc xml:space="preserve"
filename="ostree-repo.h"
- line="1469">The name of a ref which is used to store metadata for the entire repository,
+ line="1501">The name of a ref which is used to store metadata for the entire repository,
such as its expected update time (`ostree.summary.expires`), name, or new
GPG keys. Metadata is stored on contentless commits in the ref, and hence is
signed with the commits.
Users of OSTree may place arbitrary metadata in commits on this ref, but the
keys must be namespaced by product or developer. For example,
`exampleos.end-of-life`. The `ostree.` prefix is reserved.</doc>
- <source-position filename="ostree-repo.h" line="1490"/>
+ <source-position filename="ostree-repo.h" line="1522"/>
<type name="utf8" c:type="gchar*"/>
</constant>
<record name="Remote"
line="38">This represents the configuration for a single remote repository. Currently,
remotes can only be passed around as (reference counted) opaque handles. In
future, more API may be added to create and interrogate them.</doc>
- <source-position filename="ostree-types.h" line="41"/>
+ <source-position filename="ostree-types.h" line="42"/>
<method name="get_name"
c:identifier="ostree_remote_get_name"
version="2018.6">
c:identifier="ostree_repo_pull_default_console_progress_changed">
<doc xml:space="preserve"
filename="ostree-repo.c"
- line="4763">Convenient "changed" callback for use with
+ line="4768">Convenient "changed" callback for use with
ostree_async_progress_new_and_connect() when pulling from a remote
repository.
Compatibility note: this function previously assumed that @user_data
was a pointer to a #GSConsole instance. This is no longer the case,
and @user_data is ignored.</doc>
- <source-position filename="ostree-repo.h" line="1356"/>
+ <source-position filename="ostree-repo.h" line="1388"/>
<return-value transfer-ownership="none">
<type name="none" c:type="void"/>
</return-value>
<parameter name="progress" transfer-ownership="none">
<doc xml:space="preserve"
filename="ostree-repo.c"
- line="4765">Async progress</doc>
+ line="4770">Async progress</doc>
<type name="AsyncProgress" c:type="OstreeAsyncProgress*"/>
</parameter>
<parameter name="user_data"
allow-none="1">
<doc xml:space="preserve"
filename="ostree-repo.c"
- line="4766">User data</doc>
+ line="4771">User data</doc>
<type name="gpointer" c:type="gpointer"/>
</parameter>
</parameters>
line="297">This hash table is a mapping from #GVariant which can be accessed
via ostree_object_name_deserialize() to a #GVariant containing either
a similar #GVariant or and array of them, listing the parents of the key.</doc>
- <source-position filename="ostree-repo.h" line="1120"/>
+ <source-position filename="ostree-repo.h" line="1152"/>
<return-value transfer-ownership="container">
<doc xml:space="preserve"
filename="ostree-repo-traverse.c"
filename="ostree-repo-traverse.c"
line="282">This hash table is a set of #GVariant which can be accessed via
ostree_object_name_deserialize().</doc>
- <source-position filename="ostree-repo.h" line="1117"/>
+ <source-position filename="ostree-repo.h" line="1149"/>
<return-value transfer-ownership="container">
<doc xml:space="preserve"
filename="ostree-repo-traverse.c"
filename="ostree-repo-traverse.c"
line="348">Gets all the commits that a certain object belongs to, as recorded
by a parents table gotten from ostree_repo_traverse_commit_union_with_parents.</doc>
- <source-position filename="ostree-repo.h" line="1123"/>
+ <source-position filename="ostree-repo.h" line="1155"/>
<return-value transfer-ownership="full">
<doc xml:space="preserve"
filename="ostree-repo-traverse.c"
throws="1">
<doc xml:space="preserve"
filename="ostree-repo.c"
- line="5134">Add a GPG signature to a summary file.</doc>
- <source-position filename="ostree-repo.h" line="1406"/>
+ line="5139">Add a GPG signature to a summary file.</doc>
+ <source-position filename="ostree-repo.h" line="1438"/>
<return-value transfer-ownership="none">
<type name="gboolean" c:type="gboolean"/>
</return-value>
<instance-parameter name="self" transfer-ownership="none">
<doc xml:space="preserve"
filename="ostree-repo.c"
- line="5136">Self</doc>
+ line="5141">Self</doc>
<type name="Repo" c:type="OstreeRepo*"/>
</instance-parameter>
<parameter name="key_id" transfer-ownership="none">
<doc xml:space="preserve"
filename="ostree-repo.c"
- line="5137">NULL-terminated array of GPG keys.</doc>
+ line="5142">NULL-terminated array of GPG keys.</doc>
<array c:type="const gchar**">
<type name="utf8"/>
</array>
allow-none="1">
<doc xml:space="preserve"
filename="ostree-repo.c"
- line="5138">GPG home directory, or %NULL</doc>
+ line="5143">GPG home directory, or %NULL</doc>
<type name="utf8" c:type="const gchar*"/>
</parameter>
<parameter name="cancellable"
allow-none="1">
<doc xml:space="preserve"
filename="ostree-repo.c"
- line="5139">A #GCancellable</doc>
+ line="5144">A #GCancellable</doc>
<type name="Gio.Cancellable" c:type="GCancellable*"/>
</parameter>
</parameters>
throws="1">
<doc xml:space="preserve"
filename="ostree-repo.c"
- line="4913">Append a GPG signature to a commit.</doc>
- <source-position filename="ostree-repo.h" line="1413"/>
+ line="4918">Append a GPG signature to a commit.</doc>
+ <source-position filename="ostree-repo.h" line="1445"/>
<return-value transfer-ownership="none">
<type name="gboolean" c:type="gboolean"/>
</return-value>
<instance-parameter name="self" transfer-ownership="none">
<doc xml:space="preserve"
filename="ostree-repo.c"
- line="4915">Self</doc>
+ line="4920">Self</doc>
<type name="Repo" c:type="OstreeRepo*"/>
</instance-parameter>
<parameter name="commit_checksum" transfer-ownership="none">
<doc xml:space="preserve"
filename="ostree-repo.c"
- line="4916">SHA256 of given commit to sign</doc>
+ line="4921">SHA256 of given commit to sign</doc>
<type name="utf8" c:type="const gchar*"/>
</parameter>
<parameter name="signature_bytes" transfer-ownership="none">
<doc xml:space="preserve"
filename="ostree-repo.c"
- line="4917">Signature data</doc>
+ line="4922">Signature data</doc>
<type name="GLib.Bytes" c:type="GBytes*"/>
</parameter>
<parameter name="cancellable"
allow-none="1">
<doc xml:space="preserve"
filename="ostree-repo.c"
- line="4918">A #GCancellable</doc>
+ line="4923">A #GCancellable</doc>
<type name="Gio.Cancellable" c:type="GCancellable*"/>
</parameter>
</parameters>
Note in addition that unlike ostree_repo_checkout_tree(), the
default is not to use the repository-internal uncompressed objects
cache.</doc>
- <source-position filename="ostree-repo.h" line="986"/>
+ <source-position filename="ostree-repo.h" line="1018"/>
<return-value transfer-ownership="none">
<type name="gboolean" c:type="gboolean"/>
</return-value>
line="1460">Call this after finishing a succession of checkout operations; it
will delete any currently-unused uncompressed objects from the
cache.</doc>
- <source-position filename="ostree-repo.h" line="995"/>
+ <source-position filename="ostree-repo.h" line="1027"/>
<return-value transfer-ownership="none">
<type name="gboolean" c:type="gboolean"/>
</return-value>
physical filesystem. @source may be any subdirectory of a given
commit. The @mode and @overwrite_mode allow control over how the
files are checked out.</doc>
- <source-position filename="ostree-repo.h" line="901"/>
+ <source-position filename="ostree-repo.h" line="933"/>
<return-value transfer-ownership="none">
<type name="gboolean" c:type="gboolean"/>
</return-value>
throws="1">
<doc xml:space="preserve"
filename="ostree-repo.c"
- line="4208">Remove the object of type @objtype with checksum @sha256
+ line="4212">Remove the object of type @objtype with checksum @sha256
from the repository. An error of type %G_IO_ERROR_NOT_FOUND
is thrown if the object does not exist.</doc>
- <source-position filename="ostree-repo.h" line="607"/>
+ <source-position filename="ostree-repo.h" line="639"/>
<return-value transfer-ownership="none">
<type name="gboolean" c:type="gboolean"/>
</return-value>
<instance-parameter name="self" transfer-ownership="none">
<doc xml:space="preserve"
filename="ostree-repo.c"
- line="4210">Repo</doc>
+ line="4214">Repo</doc>
<type name="Repo" c:type="OstreeRepo*"/>
</instance-parameter>
<parameter name="objtype" transfer-ownership="none">
<doc xml:space="preserve"
filename="ostree-repo.c"
- line="4211">Object type</doc>
+ line="4215">Object type</doc>
<type name="ObjectType" c:type="OstreeObjectType"/>
</parameter>
<parameter name="sha256" transfer-ownership="none">
<doc xml:space="preserve"
filename="ostree-repo.c"
- line="4212">Checksum</doc>
+ line="4216">Checksum</doc>
<type name="utf8" c:type="const char*"/>
</parameter>
<parameter name="cancellable"
allow-none="1">
<doc xml:space="preserve"
filename="ostree-repo.c"
- line="4213">Cancellable</doc>
+ line="4217">Cancellable</doc>
<type name="Gio.Cancellable" c:type="GCancellable*"/>
</parameter>
</parameters>
filename="ostree-repo-libarchive.c"
line="1254">Import an archive file @archive into the repository, and write its
file structure to @mtree.</doc>
- <source-position filename="ostree-repo.h" line="824"/>
+ <source-position filename="ostree-repo.h" line="856"/>
<return-value transfer-ownership="none">
<type name="gboolean" c:type="gboolean"/>
</return-value>
GPG verification of commits will be used unconditionally.
This will use the thread-default #GMainContext, but will not iterate it.</doc>
- <source-position filename="ostree-repo.h" line="1315"/>
+ <source-position filename="ostree-repo.h" line="1347"/>
<return-value transfer-ownership="none">
<type name="none" c:type="void"/>
</return-value>
filename="ostree-repo-pull.c"
line="6207">Finish an asynchronous pull operation started with
ostree_repo_find_remotes_async().</doc>
- <source-position filename="ostree-repo.h" line="1324"/>
+ <source-position filename="ostree-repo.h" line="1356"/>
<return-value transfer-ownership="full">
<doc xml:space="preserve"
filename="ostree-repo-pull.c"
throws="1">
<doc xml:space="preserve"
filename="ostree-repo.c"
- line="4324">Verify consistency of the object; this performs checks only relevant to the
+ line="4328">Verify consistency of the object; this performs checks only relevant to the
immediate object itself, such as checksumming. This API call will not itself
traverse metadata objects for example.</doc>
- <source-position filename="ostree-repo.h" line="614"/>
+ <source-position filename="ostree-repo.h" line="646"/>
<return-value transfer-ownership="none">
<type name="gboolean" c:type="gboolean"/>
</return-value>
<instance-parameter name="self" transfer-ownership="none">
<doc xml:space="preserve"
filename="ostree-repo.c"
- line="4326">Repo</doc>
+ line="4330">Repo</doc>
<type name="Repo" c:type="OstreeRepo*"/>
</instance-parameter>
<parameter name="objtype" transfer-ownership="none">
<doc xml:space="preserve"
filename="ostree-repo.c"
- line="4327">Object type</doc>
+ line="4331">Object type</doc>
<type name="ObjectType" c:type="OstreeObjectType"/>
</parameter>
<parameter name="sha256" transfer-ownership="none">
<doc xml:space="preserve"
filename="ostree-repo.c"
- line="4328">Checksum</doc>
+ line="4332">Checksum</doc>
<type name="utf8" c:type="const char*"/>
</parameter>
<parameter name="cancellable"
allow-none="1">
<doc xml:space="preserve"
filename="ostree-repo.c"
- line="4329">Cancellable</doc>
+ line="4333">Cancellable</doc>
<type name="Gio.Cancellable" c:type="GCancellable*"/>
</parameter>
</parameters>
version="2019.2">
<doc xml:space="preserve"
filename="ostree-repo.c"
- line="6293">Get the bootloader configured. See the documentation for the
+ line="6298">Get the bootloader configured. See the documentation for the
"sysroot.bootloader" config key.</doc>
<source-position filename="ostree-repo.h" line="120"/>
<return-value transfer-ownership="none">
<doc xml:space="preserve"
filename="ostree-repo.c"
- line="6300">bootloader configuration for the sysroot</doc>
+ line="6305">bootloader configuration for the sysroot</doc>
<type name="utf8" c:type="const gchar*"/>
</return-value>
<parameters>
<instance-parameter name="self" transfer-ownership="none">
<doc xml:space="preserve"
filename="ostree-repo.c"
- line="6295">an #OstreeRepo</doc>
+ line="6300">an #OstreeRepo</doc>
<type name="Repo" c:type="OstreeRepo*"/>
</instance-parameter>
</parameters>
version="2018.6">
<doc xml:space="preserve"
filename="ostree-repo.c"
- line="6221">Get the collection ID of this repository. See [collection IDs][collection-ids].</doc>
+ line="6226">Get the collection ID of this repository. See [collection IDs][collection-ids].</doc>
<source-position filename="ostree-repo.h" line="110"/>
<return-value transfer-ownership="none" nullable="1">
<doc xml:space="preserve"
filename="ostree-repo.c"
- line="6227">collection ID for the repository</doc>
+ line="6232">collection ID for the repository</doc>
<type name="utf8" c:type="const gchar*"/>
</return-value>
<parameters>
<instance-parameter name="self" transfer-ownership="none">
<doc xml:space="preserve"
filename="ostree-repo.c"
- line="6223">an #OstreeRepo</doc>
+ line="6228">an #OstreeRepo</doc>
<type name="Repo" c:type="OstreeRepo*"/>
</instance-parameter>
</parameters>
version="2018.9">
<doc xml:space="preserve"
filename="ostree-repo.c"
- line="6274">Get the set of default repo finders configured. See the documentation for
+ line="6279">Get the set of default repo finders configured. See the documentation for
the "core.default-repo-finders" config key.</doc>
<source-position filename="ostree-repo.h" line="117"/>
<return-value transfer-ownership="none">
<doc xml:space="preserve"
filename="ostree-repo.c"
- line="6281">
+ line="6286">
%NULL-terminated array of strings.</doc>
<array c:type="const gchar* const*">
<type name="utf8"/>
<instance-parameter name="self" transfer-ownership="none">
<doc xml:space="preserve"
filename="ostree-repo.c"
- line="6276">an #OstreeRepo</doc>
+ line="6281">an #OstreeRepo</doc>
<type name="Repo" c:type="OstreeRepo*"/>
</instance-parameter>
</parameters>
throws="1">
<doc xml:space="preserve"
filename="ostree-repo.c"
- line="5200">Sign the given @data with the specified keys in @key_id. Similar to
+ line="5205">Sign the given @data with the specified keys in @key_id. Similar to
ostree_repo_add_gpg_signature_summary() but can be used on any
data.
You can use ostree_repo_gpg_verify_data() to verify the signatures.</doc>
- <source-position filename="ostree-repo.h" line="1420"/>
+ <source-position filename="ostree-repo.h" line="1452"/>
<return-value transfer-ownership="none">
<doc xml:space="preserve"
filename="ostree-repo.c"
- line="5217">@TRUE if @data has been signed successfully,
+ line="5222">@TRUE if @data has been signed successfully,
@FALSE in case of error (@error will contain the reason).</doc>
<type name="gboolean" c:type="gboolean"/>
</return-value>
<instance-parameter name="self" transfer-ownership="none">
<doc xml:space="preserve"
filename="ostree-repo.c"
- line="5202">Self</doc>
+ line="5207">Self</doc>
<type name="Repo" c:type="OstreeRepo*"/>
</instance-parameter>
<parameter name="data" transfer-ownership="none">
<doc xml:space="preserve"
filename="ostree-repo.c"
- line="5203">Data as a #GBytes</doc>
+ line="5208">Data as a #GBytes</doc>
<type name="GLib.Bytes" c:type="GBytes*"/>
</parameter>
<parameter name="old_signatures" transfer-ownership="none">
<doc xml:space="preserve"
filename="ostree-repo.c"
- line="5204">Existing signatures to append to (or %NULL)</doc>
+ line="5209">Existing signatures to append to (or %NULL)</doc>
<type name="GLib.Bytes" c:type="GBytes*"/>
</parameter>
<parameter name="key_id" transfer-ownership="none">
<doc xml:space="preserve"
filename="ostree-repo.c"
- line="5205">NULL-terminated array of GPG keys.</doc>
+ line="5210">NULL-terminated array of GPG keys.</doc>
<array c:type="const gchar**">
<type name="utf8"/>
</array>
allow-none="1">
<doc xml:space="preserve"
filename="ostree-repo.c"
- line="5206">GPG home directory, or %NULL</doc>
+ line="5211">GPG home directory, or %NULL</doc>
<type name="utf8" c:type="const gchar*"/>
</parameter>
<parameter name="out_signatures"
transfer-ownership="full">
<doc xml:space="preserve"
filename="ostree-repo.c"
- line="5207">in case of success will contain signature</doc>
+ line="5212">in case of success will contain signature</doc>
<type name="GLib.Bytes" c:type="GBytes**"/>
</parameter>
<parameter name="cancellable"
allow-none="1">
<doc xml:space="preserve"
filename="ostree-repo.c"
- line="5208">A #GCancellable</doc>
+ line="5213">A #GCancellable</doc>
<type name="Gio.Cancellable" c:type="GCancellable*"/>
</parameter>
</parameters>
throws="1">
<doc xml:space="preserve"
filename="ostree-repo.c"
- line="5607">Verify @signatures for @data using GPG keys in the keyring for
+ line="5612">Verify @signatures for @data using GPG keys in the keyring for
@remote_name, and return an #OstreeGpgVerifyResult.
The @remote_name parameter can be %NULL. In that case it will do
the verifications using GPG keys in the keyrings of all remotes.</doc>
- <source-position filename="ostree-repo.h" line="1446"/>
+ <source-position filename="ostree-repo.h" line="1478"/>
<return-value transfer-ownership="full">
<doc xml:space="preserve"
filename="ostree-repo.c"
- line="5624">an #OstreeGpgVerifyResult, or %NULL on error</doc>
+ line="5629">an #OstreeGpgVerifyResult, or %NULL on error</doc>
<type name="GpgVerifyResult" c:type="OstreeGpgVerifyResult*"/>
</return-value>
<parameters>
<instance-parameter name="self" transfer-ownership="none">
<doc xml:space="preserve"
filename="ostree-repo.c"
- line="5609">Repository</doc>
+ line="5614">Repository</doc>
<type name="Repo" c:type="OstreeRepo*"/>
</instance-parameter>
<parameter name="remote_name"
allow-none="1">
<doc xml:space="preserve"
filename="ostree-repo.c"
- line="5610">Name of remote</doc>
+ line="5615">Name of remote</doc>
<type name="utf8" c:type="const gchar*"/>
</parameter>
<parameter name="data" transfer-ownership="none">
<doc xml:space="preserve"
filename="ostree-repo.c"
- line="5611">Data as a #GBytes</doc>
+ line="5616">Data as a #GBytes</doc>
<type name="GLib.Bytes" c:type="GBytes*"/>
</parameter>
<parameter name="signatures" transfer-ownership="none">
<doc xml:space="preserve"
filename="ostree-repo.c"
- line="5612">Signatures as a #GBytes</doc>
+ line="5617">Signatures as a #GBytes</doc>
<type name="GLib.Bytes" c:type="GBytes*"/>
</parameter>
<parameter name="keyringdir"
allow-none="1">
<doc xml:space="preserve"
filename="ostree-repo.c"
- line="5613">Path to directory GPG keyrings; overrides built-in default if given</doc>
+ line="5618">Path to directory GPG keyrings; overrides built-in default if given</doc>
<type name="Gio.File" c:type="GFile*"/>
</parameter>
<parameter name="extra_keyring"
allow-none="1">
<doc xml:space="preserve"
filename="ostree-repo.c"
- line="5614">Path to additional keyring file (not a directory)</doc>
+ line="5619">Path to additional keyring file (not a directory)</doc>
<type name="Gio.File" c:type="GFile*"/>
</parameter>
<parameter name="cancellable"
allow-none="1">
<doc xml:space="preserve"
filename="ostree-repo.c"
- line="5615">Cancellable</doc>
+ line="5620">Cancellable</doc>
<type name="Gio.Cancellable" c:type="GCancellable*"/>
</parameter>
</parameters>
throws="1">
<doc xml:space="preserve"
filename="ostree-repo.c"
- line="4166">Set @out_have_object to %TRUE if @self contains the given object;
+ line="4170">Set @out_have_object to %TRUE if @self contains the given object;
%FALSE otherwise.</doc>
<source-position filename="ostree-repo.h" line="386"/>
<return-value transfer-ownership="none">
<doc xml:space="preserve"
filename="ostree-repo.c"
- line="4178">%FALSE if an unexpected error occurred, %TRUE otherwise</doc>
+ line="4182">%FALSE if an unexpected error occurred, %TRUE otherwise</doc>
<type name="gboolean" c:type="gboolean"/>
</return-value>
<parameters>
<instance-parameter name="self" transfer-ownership="none">
<doc xml:space="preserve"
filename="ostree-repo.c"
- line="4168">Repo</doc>
+ line="4172">Repo</doc>
<type name="Repo" c:type="OstreeRepo*"/>
</instance-parameter>
<parameter name="objtype" transfer-ownership="none">
<doc xml:space="preserve"
filename="ostree-repo.c"
- line="4169">Object type</doc>
+ line="4173">Object type</doc>
<type name="ObjectType" c:type="OstreeObjectType"/>
</parameter>
<parameter name="checksum" transfer-ownership="none">
<doc xml:space="preserve"
filename="ostree-repo.c"
- line="4170">ASCII SHA256 checksum</doc>
+ line="4174">ASCII SHA256 checksum</doc>
<type name="utf8" c:type="const char*"/>
</parameter>
<parameter name="out_have_object"
transfer-ownership="full">
<doc xml:space="preserve"
filename="ostree-repo.c"
- line="4171">%TRUE if repository contains object</doc>
+ line="4175">%TRUE if repository contains object</doc>
<type name="gboolean" c:type="gboolean*"/>
</parameter>
<parameter name="cancellable"
allow-none="1">
<doc xml:space="preserve"
filename="ostree-repo.c"
- line="4172">Cancellable</doc>
+ line="4176">Cancellable</doc>
<type name="Gio.Cancellable" c:type="GCancellable*"/>
</parameter>
</parameters>
filename="ostree-repo-libarchive.c"
line="840">Import an archive file @archive into the repository, and write its
file structure to @mtree.</doc>
- <source-position filename="ostree-repo.h" line="794"/>
+ <source-position filename="ostree-repo.h" line="826"/>
<return-value transfer-ownership="none">
<type name="gboolean" c:type="gboolean"/>
</return-value>
throws="1">
<doc xml:space="preserve"
filename="ostree-repo.c"
- line="4351">Copy object named by @objtype and @checksum into @self from the
+ line="4355">Copy object named by @objtype and @checksum into @self from the
source repository @source. If both repositories are of the same
type and on the same filesystem, this will simply be a fast Unix
hard link operation.
Otherwise, a copy will be performed.</doc>
- <source-position filename="ostree-repo.h" line="591"/>
+ <source-position filename="ostree-repo.h" line="623"/>
<return-value transfer-ownership="none">
<type name="gboolean" c:type="gboolean"/>
</return-value>
<instance-parameter name="self" transfer-ownership="none">
<doc xml:space="preserve"
filename="ostree-repo.c"
- line="4353">Destination repo</doc>
+ line="4357">Destination repo</doc>
<type name="Repo" c:type="OstreeRepo*"/>
</instance-parameter>
<parameter name="source" transfer-ownership="none">
<doc xml:space="preserve"
filename="ostree-repo.c"
- line="4354">Source repo</doc>
+ line="4358">Source repo</doc>
<type name="Repo" c:type="OstreeRepo*"/>
</parameter>
<parameter name="objtype" transfer-ownership="none">
<doc xml:space="preserve"
filename="ostree-repo.c"
- line="4355">Object type</doc>
+ line="4359">Object type</doc>
<type name="ObjectType" c:type="OstreeObjectType"/>
</parameter>
<parameter name="checksum" transfer-ownership="none">
<doc xml:space="preserve"
filename="ostree-repo.c"
- line="4356">checksum</doc>
+ line="4360">checksum</doc>
<type name="utf8" c:type="const char*"/>
</parameter>
<parameter name="cancellable"
allow-none="1">
<doc xml:space="preserve"
filename="ostree-repo.c"
- line="4357">Cancellable</doc>
+ line="4361">Cancellable</doc>
<type name="Gio.Cancellable" c:type="GCancellable*"/>
</parameter>
</parameters>
throws="1">
<doc xml:space="preserve"
filename="ostree-repo.c"
- line="4380">Copy object named by @objtype and @checksum into @self from the
+ line="4384">Copy object named by @objtype and @checksum into @self from the
source repository @source. If @trusted is %TRUE and both
repositories are of the same type and on the same filesystem,
this will simply be a fast Unix hard link operation.
Otherwise, a copy will be performed.</doc>
- <source-position filename="ostree-repo.h" line="598"/>
+ <source-position filename="ostree-repo.h" line="630"/>
<return-value transfer-ownership="none">
<type name="gboolean" c:type="gboolean"/>
</return-value>
<instance-parameter name="self" transfer-ownership="none">
<doc xml:space="preserve"
filename="ostree-repo.c"
- line="4382">Destination repo</doc>
+ line="4386">Destination repo</doc>
<type name="Repo" c:type="OstreeRepo*"/>
</instance-parameter>
<parameter name="source" transfer-ownership="none">
<doc xml:space="preserve"
filename="ostree-repo.c"
- line="4383">Source repo</doc>
+ line="4387">Source repo</doc>
<type name="Repo" c:type="OstreeRepo*"/>
</parameter>
<parameter name="objtype" transfer-ownership="none">
<doc xml:space="preserve"
filename="ostree-repo.c"
- line="4384">Object type</doc>
+ line="4388">Object type</doc>
<type name="ObjectType" c:type="OstreeObjectType"/>
</parameter>
<parameter name="checksum" transfer-ownership="none">
<doc xml:space="preserve"
filename="ostree-repo.c"
- line="4385">checksum</doc>
+ line="4389">checksum</doc>
<type name="utf8" c:type="const char*"/>
</parameter>
<parameter name="trusted" transfer-ownership="none">
<doc xml:space="preserve"
filename="ostree-repo.c"
- line="4386">If %TRUE, assume the source repo is valid and trusted</doc>
+ line="4390">If %TRUE, assume the source repo is valid and trusted</doc>
<type name="gboolean" c:type="gboolean"/>
</parameter>
<parameter name="cancellable"
allow-none="1">
<doc xml:space="preserve"
filename="ostree-repo.c"
- line="4387">Cancellable</doc>
+ line="4391">Cancellable</doc>
<type name="Gio.Cancellable" c:type="GCancellable*"/>
</parameter>
</parameters>
%OSTREE_REPO_LIST_REFS_EXT_EXCLUDE_REMOTES in @flags. Similarly use
%OSTREE_REPO_LIST_REFS_EXT_EXCLUDE_MIRRORS to exclude refs from
`refs/mirrors`.</doc>
- <source-position filename="ostree-repo.h" line="1348"/>
+ <source-position filename="ostree-repo.h" line="1380"/>
<return-value transfer-ownership="none">
<doc xml:space="preserve"
filename="ostree-repo-refs.c"
throws="1">
<doc xml:space="preserve"
filename="ostree-repo.c"
- line="4573">This function synchronously enumerates all commit objects starting
+ line="4578">This function synchronously enumerates all commit objects starting
with @start, returning data in @out_commits.</doc>
- <source-position filename="ostree-repo.h" line="1037"/>
+ <source-position filename="ostree-repo.h" line="1069"/>
<return-value transfer-ownership="none">
<doc xml:space="preserve"
filename="ostree-repo.c"
- line="4585">%TRUE on success, %FALSE on error, and @error will be set</doc>
+ line="4590">%TRUE on success, %FALSE on error, and @error will be set</doc>
<type name="gboolean" c:type="gboolean"/>
</return-value>
<parameters>
<instance-parameter name="self" transfer-ownership="none">
<doc xml:space="preserve"
filename="ostree-repo.c"
- line="4575">Repo</doc>
+ line="4580">Repo</doc>
<type name="Repo" c:type="OstreeRepo*"/>
</instance-parameter>
<parameter name="start" transfer-ownership="none">
<doc xml:space="preserve"
filename="ostree-repo.c"
- line="4576">List commits starting with this checksum</doc>
+ line="4581">List commits starting with this checksum</doc>
<type name="utf8" c:type="const char*"/>
</parameter>
<parameter name="out_commits"
transfer-ownership="container">
<doc xml:space="preserve"
filename="ostree-repo.c"
- line="4577">
+ line="4582">
Map of serialized commit name to variant data</doc>
<type name="GLib.HashTable" c:type="GHashTable**">
<type name="GLib.Variant"/>
allow-none="1">
<doc xml:space="preserve"
filename="ostree-repo.c"
- line="4579">Cancellable</doc>
+ line="4584">Cancellable</doc>
<type name="Gio.Cancellable" c:type="GCancellable*"/>
</parameter>
</parameters>
throws="1">
<doc xml:space="preserve"
filename="ostree-repo.c"
- line="4519">This function synchronously enumerates all objects in the
+ line="4524">This function synchronously enumerates all objects in the
repository, returning data in @out_objects. @out_objects
maps from keys returned by ostree_object_name_serialize()
to #GVariant values of type %OSTREE_REPO_LIST_OBJECTS_VARIANT_TYPE.</doc>
- <source-position filename="ostree-repo.h" line="1030"/>
+ <source-position filename="ostree-repo.h" line="1062"/>
<return-value transfer-ownership="none">
<doc xml:space="preserve"
filename="ostree-repo.c"
- line="4533">%TRUE on success, %FALSE on error, and @error will be set</doc>
+ line="4538">%TRUE on success, %FALSE on error, and @error will be set</doc>
<type name="gboolean" c:type="gboolean"/>
</return-value>
<parameters>
<instance-parameter name="self" transfer-ownership="none">
<doc xml:space="preserve"
filename="ostree-repo.c"
- line="4521">Repo</doc>
+ line="4526">Repo</doc>
<type name="Repo" c:type="OstreeRepo*"/>
</instance-parameter>
<parameter name="flags" transfer-ownership="none">
<doc xml:space="preserve"
filename="ostree-repo.c"
- line="4522">Flags controlling enumeration</doc>
+ line="4527">Flags controlling enumeration</doc>
<type name="RepoListObjectsFlags"
c:type="OstreeRepoListObjectsFlags"/>
</parameter>
transfer-ownership="container">
<doc xml:space="preserve"
filename="ostree-repo.c"
- line="4523">
+ line="4528">
Map of serialized object name to variant data</doc>
<type name="GLib.HashTable" c:type="GHashTable**">
<type name="GLib.Variant"/>
allow-none="1">
<doc xml:space="preserve"
filename="ostree-repo.c"
- line="4525">Cancellable</doc>
+ line="4530">Cancellable</doc>
<type name="Gio.Cancellable" c:type="GCancellable*"/>
</parameter>
</parameters>
@out_all_refs will be returned as a mapping from refspecs (including the
remote name) to checksums. If @refspec_prefix is non-%NULL, it will be
removed as a prefix from the hash table keys.</doc>
- <source-position filename="ostree-repo.h" line="501"/>
+ <source-position filename="ostree-repo.h" line="533"/>
<return-value transfer-ownership="none">
<type name="gboolean" c:type="gboolean"/>
</return-value>
@out_all_refs will be returned as a mapping from refspecs (including the
remote name) to checksums. Differently from ostree_repo_list_refs(), the
@refspec_prefix will not be removed from the refspecs in the hash table.</doc>
- <source-position filename="ostree-repo.h" line="522"/>
+ <source-position filename="ostree-repo.h" line="554"/>
<return-value transfer-ownership="none">
<type name="gboolean" c:type="gboolean"/>
</return-value>
filename="ostree-repo-static-delta-core.c"
line="171">This function synchronously enumerates all static delta indexes in the
repository, returning its result in @out_indexes.</doc>
- <source-position filename="ostree-repo.h" line="1050"/>
+ <source-position filename="ostree-repo.h" line="1082"/>
<return-value transfer-ownership="none">
<type name="gboolean" c:type="gboolean"/>
</return-value>
filename="ostree-repo-static-delta-core.c"
line="80">This function synchronously enumerates all static deltas in the
repository, returning its result in @out_deltas.</doc>
- <source-position filename="ostree-repo.h" line="1044"/>
+ <source-position filename="ostree-repo.h" line="1076"/>
<return-value transfer-ownership="none">
<type name="gboolean" c:type="gboolean"/>
</return-value>
throws="1">
<doc xml:space="preserve"
filename="ostree-repo.c"
- line="4495">A version of ostree_repo_load_variant() specialized to commits,
+ line="4500">A version of ostree_repo_load_variant() specialized to commits,
capable of returning extended state information. Currently
the only extended state is %OSTREE_REPO_COMMIT_STATE_PARTIAL, which
means that only a sub-path of the commit is available.</doc>
- <source-position filename="ostree-repo.h" line="558"/>
+ <source-position filename="ostree-repo.h" line="590"/>
<return-value transfer-ownership="none">
<type name="gboolean" c:type="gboolean"/>
</return-value>
<instance-parameter name="self" transfer-ownership="none">
<doc xml:space="preserve"
filename="ostree-repo.c"
- line="4497">Repo</doc>
+ line="4502">Repo</doc>
<type name="Repo" c:type="OstreeRepo*"/>
</instance-parameter>
<parameter name="checksum" transfer-ownership="none">
<doc xml:space="preserve"
filename="ostree-repo.c"
- line="4498">Commit checksum</doc>
+ line="4503">Commit checksum</doc>
<type name="utf8" c:type="const char*"/>
</parameter>
<parameter name="out_commit"
allow-none="1">
<doc xml:space="preserve"
filename="ostree-repo.c"
- line="4499">Commit</doc>
+ line="4504">Commit</doc>
<type name="GLib.Variant" c:type="GVariant**"/>
</parameter>
<parameter name="out_state"
allow-none="1">
<doc xml:space="preserve"
filename="ostree-repo.c"
- line="4500">Commit state</doc>
+ line="4505">Commit state</doc>
<type name="RepoCommitState" c:type="OstreeRepoCommitState*"/>
</parameter>
</parameters>
<method name="load_file" c:identifier="ostree_repo_load_file" throws="1">
<doc xml:space="preserve"
filename="ostree-repo.c"
- line="4005">Load content object, decomposing it into three parts: the actual
+ line="4009">Load content object, decomposing it into three parts: the actual
content (for regular files), the metadata, and extended attributes.</doc>
- <source-position filename="ostree-repo.h" line="565"/>
+ <source-position filename="ostree-repo.h" line="597"/>
<return-value transfer-ownership="none">
<type name="gboolean" c:type="gboolean"/>
</return-value>
<instance-parameter name="self" transfer-ownership="none">
<doc xml:space="preserve"
filename="ostree-repo.c"
- line="4007">Repo</doc>
+ line="4011">Repo</doc>
<type name="Repo" c:type="OstreeRepo*"/>
</instance-parameter>
<parameter name="checksum" transfer-ownership="none">
<doc xml:space="preserve"
filename="ostree-repo.c"
- line="4008">ASCII SHA256 checksum</doc>
+ line="4012">ASCII SHA256 checksum</doc>
<type name="utf8" c:type="const char*"/>
</parameter>
<parameter name="out_input"
allow-none="1">
<doc xml:space="preserve"
filename="ostree-repo.c"
- line="4009">File content</doc>
+ line="4013">File content</doc>
<type name="Gio.InputStream" c:type="GInputStream**"/>
</parameter>
<parameter name="out_file_info"
allow-none="1">
<doc xml:space="preserve"
filename="ostree-repo.c"
- line="4010">File information</doc>
+ line="4014">File information</doc>
<type name="Gio.FileInfo" c:type="GFileInfo**"/>
</parameter>
<parameter name="out_xattrs"
allow-none="1">
<doc xml:space="preserve"
filename="ostree-repo.c"
- line="4011">Extended attributes</doc>
+ line="4015">Extended attributes</doc>
<type name="GLib.Variant" c:type="GVariant**"/>
</parameter>
<parameter name="cancellable"
allow-none="1">
<doc xml:space="preserve"
filename="ostree-repo.c"
- line="4012">Cancellable</doc>
+ line="4016">Cancellable</doc>
<type name="Gio.Cancellable" c:type="GCancellable*"/>
</parameter>
</parameters>
throws="1">
<doc xml:space="preserve"
filename="ostree-repo.c"
- line="4066">Load object as a stream; useful when copying objects between
+ line="4070">Load object as a stream; useful when copying objects between
repositories.</doc>
- <source-position filename="ostree-repo.h" line="574"/>
+ <source-position filename="ostree-repo.h" line="606"/>
<return-value transfer-ownership="none">
<type name="gboolean" c:type="gboolean"/>
</return-value>
<instance-parameter name="self" transfer-ownership="none">
<doc xml:space="preserve"
filename="ostree-repo.c"
- line="4068">Repo</doc>
+ line="4072">Repo</doc>
<type name="Repo" c:type="OstreeRepo*"/>
</instance-parameter>
<parameter name="objtype" transfer-ownership="none">
<doc xml:space="preserve"
filename="ostree-repo.c"
- line="4069">Object type</doc>
+ line="4073">Object type</doc>
<type name="ObjectType" c:type="OstreeObjectType"/>
</parameter>
<parameter name="checksum" transfer-ownership="none">
<doc xml:space="preserve"
filename="ostree-repo.c"
- line="4070">ASCII SHA256 checksum</doc>
+ line="4074">ASCII SHA256 checksum</doc>
<type name="utf8" c:type="const char*"/>
</parameter>
<parameter name="out_input"
transfer-ownership="full">
<doc xml:space="preserve"
filename="ostree-repo.c"
- line="4071">Stream for object</doc>
+ line="4075">Stream for object</doc>
<type name="Gio.InputStream" c:type="GInputStream**"/>
</parameter>
<parameter name="out_size"
transfer-ownership="full">
<doc xml:space="preserve"
filename="ostree-repo.c"
- line="4072">Length of @out_input</doc>
+ line="4076">Length of @out_input</doc>
<type name="guint64" c:type="guint64*"/>
</parameter>
<parameter name="cancellable"
allow-none="1">
<doc xml:space="preserve"
filename="ostree-repo.c"
- line="4073">Cancellable</doc>
+ line="4077">Cancellable</doc>
<type name="Gio.Cancellable" c:type="GCancellable*"/>
</parameter>
</parameters>
throws="1">
<doc xml:space="preserve"
filename="ostree-repo.c"
- line="4473">Load the metadata object @sha256 of type @objtype, storing the
+ line="4478">Load the metadata object @sha256 of type @objtype, storing the
result in @out_variant.</doc>
- <source-position filename="ostree-repo.h" line="544"/>
+ <source-position filename="ostree-repo.h" line="576"/>
<return-value transfer-ownership="none">
<type name="gboolean" c:type="gboolean"/>
</return-value>
<instance-parameter name="self" transfer-ownership="none">
<doc xml:space="preserve"
filename="ostree-repo.c"
- line="4475">Repo</doc>
+ line="4480">Repo</doc>
<type name="Repo" c:type="OstreeRepo*"/>
</instance-parameter>
<parameter name="objtype" transfer-ownership="none">
<doc xml:space="preserve"
filename="ostree-repo.c"
- line="4476">Expected object type</doc>
+ line="4481">Expected object type</doc>
<type name="ObjectType" c:type="OstreeObjectType"/>
</parameter>
<parameter name="sha256" transfer-ownership="none">
<doc xml:space="preserve"
filename="ostree-repo.c"
- line="4477">Checksum string</doc>
+ line="4482">Checksum string</doc>
<type name="utf8" c:type="const char*"/>
</parameter>
<parameter name="out_variant"
transfer-ownership="full">
<doc xml:space="preserve"
filename="ostree-repo.c"
- line="4478">Metadata object</doc>
+ line="4483">Metadata object</doc>
<type name="GLib.Variant" c:type="GVariant**"/>
</parameter>
</parameters>
throws="1">
<doc xml:space="preserve"
filename="ostree-repo.c"
- line="4450">Attempt to load the metadata object @sha256 of type @objtype if it
+ line="4454">Attempt to load the metadata object @sha256 of type @objtype if it
exists, storing the result in @out_variant. If it doesn't exist,
-%NULL is returned.</doc>
- <source-position filename="ostree-repo.h" line="551"/>
+@out_variant will be set to %NULL and the function will still
+return TRUE.</doc>
+ <source-position filename="ostree-repo.h" line="583"/>
<return-value transfer-ownership="none">
<type name="gboolean" c:type="gboolean"/>
</return-value>
<instance-parameter name="self" transfer-ownership="none">
<doc xml:space="preserve"
filename="ostree-repo.c"
- line="4452">Repo</doc>
+ line="4456">Repo</doc>
<type name="Repo" c:type="OstreeRepo*"/>
</instance-parameter>
<parameter name="objtype" transfer-ownership="none">
<doc xml:space="preserve"
filename="ostree-repo.c"
- line="4453">Object type</doc>
+ line="4457">Object type</doc>
<type name="ObjectType" c:type="OstreeObjectType"/>
</parameter>
<parameter name="sha256" transfer-ownership="none">
<doc xml:space="preserve"
filename="ostree-repo.c"
- line="4454">ASCII checksum</doc>
+ line="4458">ASCII checksum</doc>
<type name="utf8" c:type="const char*"/>
</parameter>
<parameter name="out_variant"
direction="out"
caller-allocates="0"
- transfer-ownership="full">
+ transfer-ownership="full"
+ nullable="1">
<doc xml:space="preserve"
filename="ostree-repo.c"
- line="4455">Metadata</doc>
+ line="4459">Metadata</doc>
<type name="GLib.Variant" c:type="GVariant**"/>
</parameter>
</parameters>
deleting them.
Locking: exclusive</doc>
- <source-position filename="ostree-repo.h" line="1228"/>
+ <source-position filename="ostree-repo.h" line="1260"/>
<return-value transfer-ownership="none">
<type name="gboolean" c:type="gboolean"/>
</return-value>
statistics on objects that would be deleted, without actually deleting them.
Locking: exclusive</doc>
- <source-position filename="ostree-repo.h" line="1260"/>
+ <source-position filename="ostree-repo.h" line="1292"/>
<return-value transfer-ownership="none">
<type name="gboolean" c:type="gboolean"/>
</return-value>
deleted.
Locking: exclusive</doc>
- <source-position filename="ostree-repo.h" line="1223"/>
+ <source-position filename="ostree-repo.h" line="1255"/>
<return-value transfer-ownership="none">
<type name="gboolean" c:type="gboolean"/>
</return-value>
<method name="pull" c:identifier="ostree_repo_pull" throws="1">
<doc xml:space="preserve"
filename="ostree-repo.c"
- line="4651">Connect to the remote repository, fetching the specified set of
+ line="4656">Connect to the remote repository, fetching the specified set of
refs @refs_to_fetch. For each ref that is changed, download the
commit, all metadata, and all content objects, storing them safely
on disk in @self.
which is a bug, but kept for compatibility reasons. If you want to
avoid this, use g_main_context_push_thread_default() to push a new
one around this call.</doc>
- <source-position filename="ostree-repo.h" line="1287"/>
+ <source-position filename="ostree-repo.h" line="1319"/>
<return-value transfer-ownership="none">
<type name="gboolean" c:type="gboolean"/>
</return-value>
<instance-parameter name="self" transfer-ownership="none">
<doc xml:space="preserve"
filename="ostree-repo.c"
- line="4653">Repo</doc>
+ line="4658">Repo</doc>
<type name="Repo" c:type="OstreeRepo*"/>
</instance-parameter>
<parameter name="remote_name" transfer-ownership="none">
<doc xml:space="preserve"
filename="ostree-repo.c"
- line="4654">Name of remote</doc>
+ line="4659">Name of remote</doc>
<type name="utf8" c:type="const char*"/>
</parameter>
<parameter name="refs_to_fetch"
allow-none="1">
<doc xml:space="preserve"
filename="ostree-repo.c"
- line="4655">Optional list of refs; if %NULL, fetch all configured refs</doc>
+ line="4660">Optional list of refs; if %NULL, fetch all configured refs</doc>
<array c:type="char**">
<type name="utf8"/>
</array>
<parameter name="flags" transfer-ownership="none">
<doc xml:space="preserve"
filename="ostree-repo.c"
- line="4656">Options controlling fetch behavior</doc>
+ line="4661">Options controlling fetch behavior</doc>
<type name="RepoPullFlags" c:type="OstreeRepoPullFlags"/>
</parameter>
<parameter name="progress"
allow-none="1">
<doc xml:space="preserve"
filename="ostree-repo.c"
- line="4657">Progress</doc>
+ line="4662">Progress</doc>
<type name="AsyncProgress" c:type="OstreeAsyncProgress*"/>
</parameter>
<parameter name="cancellable"
allow-none="1">
<doc xml:space="preserve"
filename="ostree-repo.c"
- line="4658">Cancellable</doc>
+ line="4663">Cancellable</doc>
<type name="Gio.Cancellable" c:type="GCancellable*"/>
</parameter>
</parameters>
not being pulled will be ignored and any ref without a keyring remote
will be verified with the keyring of the remote being pulled from.
Since: 2019.2</doc>
- <source-position filename="ostree-repo.h" line="1329"/>
+ <source-position filename="ostree-repo.h" line="1361"/>
<return-value transfer-ownership="none">
<type name="none" c:type="void"/>
</return-value>
filename="ostree-repo-pull.c"
line="6508">Finish an asynchronous pull operation started with
ostree_repo_pull_from_remotes_async().</doc>
- <source-position filename="ostree-repo.h" line="1337"/>
+ <source-position filename="ostree-repo.h" line="1369"/>
<return-value transfer-ownership="none">
<doc xml:space="preserve"
filename="ostree-repo-pull.c"
throws="1">
<doc xml:space="preserve"
filename="ostree-repo.c"
- line="4690">This is similar to ostree_repo_pull(), but only fetches a single
+ line="4695">This is similar to ostree_repo_pull(), but only fetches a single
subpath.</doc>
- <source-position filename="ostree-repo.h" line="1297"/>
+ <source-position filename="ostree-repo.h" line="1329"/>
<return-value transfer-ownership="none">
<type name="gboolean" c:type="gboolean"/>
</return-value>
<instance-parameter name="self" transfer-ownership="none">
<doc xml:space="preserve"
filename="ostree-repo.c"
- line="4692">Repo</doc>
+ line="4697">Repo</doc>
<type name="Repo" c:type="OstreeRepo*"/>
</instance-parameter>
<parameter name="remote_name" transfer-ownership="none">
<doc xml:space="preserve"
filename="ostree-repo.c"
- line="4693">Name of remote</doc>
+ line="4698">Name of remote</doc>
<type name="utf8" c:type="const char*"/>
</parameter>
<parameter name="dir_to_pull" transfer-ownership="none">
<doc xml:space="preserve"
filename="ostree-repo.c"
- line="4694">Subdirectory path</doc>
+ line="4699">Subdirectory path</doc>
<type name="utf8" c:type="const char*"/>
</parameter>
<parameter name="refs_to_fetch"
allow-none="1">
<doc xml:space="preserve"
filename="ostree-repo.c"
- line="4695">Optional list of refs; if %NULL, fetch all configured refs</doc>
+ line="4700">Optional list of refs; if %NULL, fetch all configured refs</doc>
<array c:type="char**">
<type name="utf8"/>
</array>
<parameter name="flags" transfer-ownership="none">
<doc xml:space="preserve"
filename="ostree-repo.c"
- line="4696">Options controlling fetch behavior</doc>
+ line="4701">Options controlling fetch behavior</doc>
<type name="RepoPullFlags" c:type="OstreeRepoPullFlags"/>
</parameter>
<parameter name="progress"
allow-none="1">
<doc xml:space="preserve"
filename="ostree-repo.c"
- line="4697">Progress</doc>
+ line="4702">Progress</doc>
<type name="AsyncProgress" c:type="OstreeAsyncProgress*"/>
</parameter>
<parameter name="cancellable"
allow-none="1">
<doc xml:space="preserve"
filename="ostree-repo.c"
- line="4698">Cancellable</doc>
+ line="4703">Cancellable</doc>
<type name="Gio.Cancellable" c:type="GCancellable*"/>
</parameter>
</parameters>
is specified, `summary-bytes` must also be specified. Since: 2020.5
* `disable-verify-bindings` (`b`): Disable verification of commit bindings.
Since: 2020.9</doc>
- <source-position filename="ostree-repo.h" line="1307"/>
+ <source-position filename="ostree-repo.h" line="1339"/>
<return-value transfer-ownership="none">
<type name="gboolean" c:type="gboolean"/>
</return-value>
throws="1">
<doc xml:space="preserve"
filename="ostree-repo.c"
- line="4414">Return the size in bytes of object with checksum @sha256, after any
+ line="4418">Return the size in bytes of object with checksum @sha256, after any
compression has been applied.</doc>
- <source-position filename="ostree-repo.h" line="583"/>
+ <source-position filename="ostree-repo.h" line="615"/>
<return-value transfer-ownership="none">
<type name="gboolean" c:type="gboolean"/>
</return-value>
<instance-parameter name="self" transfer-ownership="none">
<doc xml:space="preserve"
filename="ostree-repo.c"
- line="4416">Repo</doc>
+ line="4420">Repo</doc>
<type name="Repo" c:type="OstreeRepo*"/>
</instance-parameter>
<parameter name="objtype" transfer-ownership="none">
<doc xml:space="preserve"
filename="ostree-repo.c"
- line="4417">Object type</doc>
+ line="4421">Object type</doc>
<type name="ObjectType" c:type="OstreeObjectType"/>
</parameter>
<parameter name="sha256" transfer-ownership="none">
<doc xml:space="preserve"
filename="ostree-repo.c"
- line="4418">Checksum</doc>
+ line="4422">Checksum</doc>
<type name="utf8" c:type="const char*"/>
</parameter>
<parameter name="out_size"
transfer-ownership="full">
<doc xml:space="preserve"
filename="ostree-repo.c"
- line="4419">Size in bytes object occupies physically</doc>
+ line="4423">Size in bytes object occupies physically</doc>
<type name="guint64" c:type="guint64*"/>
</parameter>
<parameter name="cancellable"
allow-none="1">
<doc xml:space="preserve"
filename="ostree-repo.c"
- line="4420">Cancellable</doc>
+ line="4424">Cancellable</doc>
<type name="Gio.Cancellable" c:type="GCancellable*"/>
</parameter>
</parameters>
throws="1">
<doc xml:space="preserve"
filename="ostree-repo.c"
- line="4616">Load the content for @rev into @out_root.</doc>
- <source-position filename="ostree-repo.h" line="1000"/>
+ line="4621">Load the content for @rev into @out_root.</doc>
+ <source-position filename="ostree-repo.h" line="1032"/>
<return-value transfer-ownership="none">
<type name="gboolean" c:type="gboolean"/>
</return-value>
<instance-parameter name="self" transfer-ownership="none">
<doc xml:space="preserve"
filename="ostree-repo.c"
- line="4618">Repo</doc>
+ line="4623">Repo</doc>
<type name="Repo" c:type="OstreeRepo*"/>
</instance-parameter>
<parameter name="ref" transfer-ownership="none">
<doc xml:space="preserve"
filename="ostree-repo.c"
- line="4619">Ref or ASCII checksum</doc>
+ line="4624">Ref or ASCII checksum</doc>
<type name="utf8" c:type="const char*"/>
</parameter>
<parameter name="out_root"
transfer-ownership="full">
<doc xml:space="preserve"
filename="ostree-repo.c"
- line="4620">An #OstreeRepoFile corresponding to the root</doc>
+ line="4625">An #OstreeRepoFile corresponding to the root</doc>
<type name="Gio.File" c:type="GFile**"/>
</parameter>
<parameter name="out_commit"
transfer-ownership="full">
<doc xml:space="preserve"
filename="ostree-repo.c"
- line="4621">The resolved commit checksum</doc>
+ line="4626">The resolved commit checksum</doc>
<type name="utf8" c:type="char**"/>
</parameter>
<parameter name="cancellable"
allow-none="1">
<doc xml:space="preserve"
filename="ostree-repo.c"
- line="4622">Cancellable</doc>
+ line="4627">Cancellable</doc>
<type name="Gio.Cancellable" c:type="GCancellable*"/>
</parameter>
</parameters>
throws="1">
<doc xml:space="preserve"
filename="ostree-repo-commit.c"
- line="2975">OSTree commits can have arbitrary metadata associated; this
+ line="3095">OSTree commits can have arbitrary metadata associated; this
function retrieves them. If none exists, @out_metadata will be set
to %NULL.</doc>
- <source-position filename="ostree-repo.h" line="862"/>
+ <source-position filename="ostree-repo.h" line="894"/>
<return-value transfer-ownership="none">
<type name="gboolean" c:type="gboolean"/>
</return-value>
<instance-parameter name="self" transfer-ownership="none">
<doc xml:space="preserve"
filename="ostree-repo-commit.c"
- line="2977">Repo</doc>
+ line="3097">Repo</doc>
<type name="Repo" c:type="OstreeRepo*"/>
</instance-parameter>
<parameter name="checksum" transfer-ownership="none">
<doc xml:space="preserve"
filename="ostree-repo-commit.c"
- line="2978">ASCII SHA256 commit checksum</doc>
+ line="3098">ASCII SHA256 commit checksum</doc>
<type name="utf8" c:type="const char*"/>
</parameter>
<parameter name="out_metadata"
transfer-ownership="full">
<doc xml:space="preserve"
filename="ostree-repo-commit.c"
- line="2979">Metadata associated with commit in with format "a{sv}", or %NULL if none exists</doc>
+ line="3099">Metadata associated with commit in with format "a{sv}", or %NULL if none exists</doc>
<type name="GLib.Variant" c:type="GVariant**"/>
</parameter>
<parameter name="cancellable"
allow-none="1">
<doc xml:space="preserve"
filename="ostree-repo-commit.c"
- line="2980">Cancellable</doc>
+ line="3100">Cancellable</doc>
<type name="Gio.Cancellable" c:type="GCancellable*"/>
</parameter>
</parameters>
throws="1">
<doc xml:space="preserve"
filename="ostree-repo.c"
- line="5748">An OSTree repository can contain a high level "summary" file that
+ line="5753">An OSTree repository can contain a high level "summary" file that
describes the available branches and other metadata.
If the timetable for making commits and updating the summary file is fairly
lexicographic order.
Locking: exclusive</doc>
- <source-position filename="ostree-repo.h" line="1464"/>
+ <source-position filename="ostree-repo.h" line="1496"/>
<return-value transfer-ownership="none">
<type name="gboolean" c:type="gboolean"/>
</return-value>
<instance-parameter name="self" transfer-ownership="none">
<doc xml:space="preserve"
filename="ostree-repo.c"
- line="5750">Repo</doc>
+ line="5755">Repo</doc>
<type name="Repo" c:type="OstreeRepo*"/>
</instance-parameter>
<parameter name="additional_metadata"
allow-none="1">
<doc xml:space="preserve"
filename="ostree-repo.c"
- line="5751">A GVariant of type a{sv}, or %NULL</doc>
+ line="5756">A GVariant of type a{sv}, or %NULL</doc>
<type name="GLib.Variant" c:type="GVariant*"/>
</parameter>
<parameter name="cancellable"
allow-none="1">
<doc xml:space="preserve"
filename="ostree-repo.c"
- line="5752">Cancellable</doc>
+ line="5757">Cancellable</doc>
<type name="Gio.Cancellable" c:type="GCancellable*"/>
</parameter>
</parameters>
line="2000">Return whether GPG verification is enabled for the remote named @name
through @out_gpg_verify. It is an error if the provided remote does
not exist.</doc>
- <source-position filename="ostree-repo.h" line="1386"/>
+ <source-position filename="ostree-repo.h" line="1418"/>
<return-value transfer-ownership="none">
<doc xml:space="preserve"
filename="ostree-repo.c"
line="2034">Return whether GPG verification of the summary is enabled for the remote
named @name through @out_gpg_verify_summary. It is an error if the provided
remote does not exist.</doc>
- <source-position filename="ostree-repo.h" line="1392"/>
+ <source-position filename="ostree-repo.h" line="1424"/>
<return-value transfer-ownership="none">
<doc xml:space="preserve"
filename="ostree-repo.c"
The imported keys will be used to conduct GPG verification when pulling
from the remote named @name.</doc>
- <source-position filename="ostree-repo.h" line="1397"/>
+ <source-position filename="ostree-repo.h" line="1429"/>
<return-value transfer-ownership="none">
<doc xml:space="preserve"
filename="ostree-repo.c"
with a %NULL collection ID in each #OstreeCollectionRef key in @out_all_refs.
Any refs for other collections stored in the repository will also be returned.
No filtering is performed.</doc>
- <source-position filename="ostree-repo.h" line="537"/>
+ <source-position filename="ostree-repo.h" line="569"/>
<return-value transfer-ownership="none">
<type name="gboolean" c:type="gboolean"/>
</return-value>
<method name="remote_list_refs"
c:identifier="ostree_repo_remote_list_refs"
throws="1">
- <source-position filename="ostree-repo.h" line="530"/>
+ <source-position filename="ostree-repo.h" line="562"/>
<return-value transfer-ownership="none">
<type name="gboolean" c:type="gboolean"/>
</return-value>
If you want to check only local refs, not remote or mirrored ones, use the
flag %OSTREE_REPO_RESOLVE_REV_EXT_LOCAL_ONLY. This is analogous to using
ostree_repo_resolve_rev_ext() but for collection-refs.</doc>
- <source-position filename="ostree-repo.h" line="492"/>
+ <source-position filename="ostree-repo.h" line="524"/>
<return-value transfer-ownership="none">
<doc xml:space="preserve"
filename="ostree-repo-refs.c"
keyrings should match.
If no match can be found, a %G_IO_ERROR_NOT_FOUND error will be returned.</doc>
- <source-position filename="ostree-repo.h" line="1342"/>
+ <source-position filename="ostree-repo.h" line="1374"/>
<return-value transfer-ownership="full">
<doc xml:space="preserve"
filename="ostree-repo-pull.c"
line="447">Look up the given refspec, returning the checksum it references in
the parameter @out_rev. Will fall back on remote directory if cannot
find the given refspec in local.</doc>
- <source-position filename="ostree-repo.h" line="467"/>
+ <source-position filename="ostree-repo.h" line="499"/>
<return-value transfer-ownership="none">
<type name="gboolean" c:type="gboolean"/>
</return-value>
The flag %OSTREE_REPO_RESOLVE_REV_EXT_LOCAL_ONLY is implied so
using it has no effect.</doc>
- <source-position filename="ostree-repo.h" line="484"/>
+ <source-position filename="ostree-repo.h" line="516"/>
<return-value transfer-ownership="none">
<type name="gboolean" c:type="gboolean"/>
</return-value>
throws="1">
<doc xml:space="preserve"
filename="ostree-repo.c"
- line="6238">Set or clear the collection ID of this repository. See [collection IDs][collection-ids].
+ line="6243">Set or clear the collection ID of this repository. See [collection IDs][collection-ids].
The update will be made in memory, but must be written out to the repository
configuration on disk using ostree_repo_write_config().</doc>
<source-position filename="ostree-repo.h" line="112"/>
<return-value transfer-ownership="none">
<doc xml:space="preserve"
filename="ostree-repo.c"
- line="6248">%TRUE on success, %FALSE otherwise</doc>
+ line="6253">%TRUE on success, %FALSE otherwise</doc>
<type name="gboolean" c:type="gboolean"/>
</return-value>
<parameters>
<instance-parameter name="self" transfer-ownership="none">
<doc xml:space="preserve"
filename="ostree-repo.c"
- line="6240">an #OstreeRepo</doc>
+ line="6245">an #OstreeRepo</doc>
<type name="Repo" c:type="OstreeRepo*"/>
</instance-parameter>
<parameter name="collection_id"
allow-none="1">
<doc xml:space="preserve"
filename="ostree-repo.c"
- line="6241">new collection ID, or %NULL to unset it</doc>
+ line="6246">new collection ID, or %NULL to unset it</doc>
<type name="utf8" c:type="const gchar*"/>
</parameter>
</parameters>
throws="1">
<doc xml:space="preserve"
filename="ostree-repo.c"
- line="5018">Add a GPG signature to a commit.</doc>
- <source-position filename="ostree-repo.h" line="1360"/>
+ line="5023">Add a GPG signature to a commit.</doc>
+ <source-position filename="ostree-repo.h" line="1392"/>
<return-value transfer-ownership="none">
<type name="gboolean" c:type="gboolean"/>
</return-value>
<instance-parameter name="self" transfer-ownership="none">
<doc xml:space="preserve"
filename="ostree-repo.c"
- line="5020">Self</doc>
+ line="5025">Self</doc>
<type name="Repo" c:type="OstreeRepo*"/>
</instance-parameter>
<parameter name="commit_checksum" transfer-ownership="none">
<doc xml:space="preserve"
filename="ostree-repo.c"
- line="5021">SHA256 of given commit to sign</doc>
+ line="5026">SHA256 of given commit to sign</doc>
<type name="utf8" c:type="const gchar*"/>
</parameter>
<parameter name="key_id" transfer-ownership="none">
<doc xml:space="preserve"
filename="ostree-repo.c"
- line="5022">Use this GPG key id</doc>
+ line="5027">Use this GPG key id</doc>
<type name="utf8" c:type="const gchar*"/>
</parameter>
<parameter name="homedir"
allow-none="1">
<doc xml:space="preserve"
filename="ostree-repo.c"
- line="5023">GPG home directory, or %NULL</doc>
+ line="5028">GPG home directory, or %NULL</doc>
<type name="utf8" c:type="const gchar*"/>
</parameter>
<parameter name="cancellable"
allow-none="1">
<doc xml:space="preserve"
filename="ostree-repo.c"
- line="5024">A #GCancellable</doc>
+ line="5029">A #GCancellable</doc>
<type name="Gio.Cancellable" c:type="GCancellable*"/>
</parameter>
</parameters>
throws="1">
<doc xml:space="preserve"
filename="ostree-repo.c"
- line="5107">This function is deprecated, sign the summary file instead.
+ line="5112">This function is deprecated, sign the summary file instead.
Add a GPG signature to a static delta.</doc>
- <source-position filename="ostree-repo.h" line="1368"/>
+ <source-position filename="ostree-repo.h" line="1400"/>
<return-value transfer-ownership="none">
<type name="gboolean" c:type="gboolean"/>
</return-value>
<instance-parameter name="self" transfer-ownership="none">
<doc xml:space="preserve"
filename="ostree-repo.c"
- line="5109">Self</doc>
+ line="5114">Self</doc>
<type name="Repo" c:type="OstreeRepo*"/>
</instance-parameter>
<parameter name="from_commit" transfer-ownership="none">
<doc xml:space="preserve"
filename="ostree-repo.c"
- line="5110">From commit</doc>
+ line="5115">From commit</doc>
<type name="utf8" c:type="const gchar*"/>
</parameter>
<parameter name="to_commit" transfer-ownership="none">
<doc xml:space="preserve"
filename="ostree-repo.c"
- line="5111">To commit</doc>
+ line="5116">To commit</doc>
<type name="utf8" c:type="const gchar*"/>
</parameter>
<parameter name="key_id" transfer-ownership="none">
<doc xml:space="preserve"
filename="ostree-repo.c"
- line="5112">key id</doc>
+ line="5117">key id</doc>
<type name="utf8" c:type="const gchar*"/>
</parameter>
<parameter name="homedir" transfer-ownership="none">
<doc xml:space="preserve"
filename="ostree-repo.c"
- line="5113">homedir</doc>
+ line="5118">homedir</doc>
<type name="utf8" c:type="const gchar*"/>
</parameter>
<parameter name="cancellable"
allow-none="1">
<doc xml:space="preserve"
filename="ostree-repo.c"
- line="5114">cancellable</doc>
+ line="5119">cancellable</doc>
<type name="Gio.Cancellable" c:type="GCancellable*"/>
</parameter>
</parameters>
on disk, apply it, generating a new commit. The directory must be
named with the form "FROM-TO", where both are checksums, and it
must contain a file named "superblock", along with at least one part.</doc>
- <source-position filename="ostree-repo.h" line="1103"/>
+ <source-position filename="ostree-repo.h" line="1135"/>
<return-value transfer-ownership="none">
<type name="gboolean" c:type="gboolean"/>
</return-value>
The directory must be named with the form "FROM-TO", where both are
checksums, and it must contain a file named "superblock", along with at least
one part.</doc>
- <source-position filename="ostree-repo.h" line="1095"/>
+ <source-position filename="ostree-repo.h" line="1127"/>
<return-value transfer-ownership="none">
<type name="gboolean" c:type="gboolean"/>
</return-value>
- filename: ay: Save delta superblock to this filename, and parts in the same directory. Default saves to repository.
- sign-name: ay: Signature type to use.
- sign-key-ids: as: Array of keys used to sign delta superblock.</doc>
- <source-position filename="ostree-repo.h" line="1068"/>
+ <source-position filename="ostree-repo.h" line="1100"/>
<return-value transfer-ownership="none">
<type name="gboolean" c:type="gboolean"/>
</return-value>
This is normally called automatically when the summary is updated in ostree_repo_regenerate_summary().
Locking: shared</doc>
- <source-position filename="ostree-repo.h" line="1088"/>
+ <source-position filename="ostree-repo.h" line="1120"/>
<return-value transfer-ownership="none">
<type name="gboolean" c:type="gboolean"/>
</return-value>
<doc xml:space="preserve"
filename="ostree-repo-static-delta-core.c"
line="1161">Verify static delta file signature.</doc>
- <source-position filename="ostree-repo.h" line="1110"/>
+ <source-position filename="ostree-repo.h" line="1142"/>
<return-value transfer-ownership="none">
<doc xml:space="preserve"
filename="ostree-repo-static-delta-core.c"
filename="ostree-repo-traverse.c"
line="665">Create a new set @out_reachable containing all objects reachable
from @commit_checksum, traversing @maxdepth parent commits.</doc>
- <source-position filename="ostree-repo.h" line="1126"/>
+ <source-position filename="ostree-repo.h" line="1158"/>
<return-value transfer-ownership="none">
<type name="gboolean" c:type="gboolean"/>
</return-value>
filename="ostree-repo-traverse.c"
line="639">Update the set @inout_reachable containing all objects reachable
from @commit_checksum, traversing @maxdepth parent commits.</doc>
- <source-position filename="ostree-repo.h" line="1134"/>
+ <source-position filename="ostree-repo.h" line="1166"/>
<return-value transfer-ownership="none">
<type name="gboolean" c:type="gboolean"/>
</return-value>
Additionally this constructs a mapping from each object to the parents
of the object, which can be used to track which commits an object
belongs to.</doc>
- <source-position filename="ostree-repo.h" line="1141"/>
+ <source-position filename="ostree-repo.h" line="1173"/>
<return-value transfer-ownership="none">
<type name="gboolean" c:type="gboolean"/>
</return-value>
line="307">Add all commit objects directly reachable via a ref to @reachable.
Locking: shared</doc>
- <source-position filename="ostree-repo.h" line="1253"/>
+ <source-position filename="ostree-repo.h" line="1285"/>
<return-value transfer-ownership="none">
<type name="gboolean" c:type="gboolean"/>
</return-value>
throws="1">
<doc xml:space="preserve"
filename="ostree-repo.c"
- line="5496">Check for a valid GPG signature on commit named by the ASCII
+ line="5501">Check for a valid GPG signature on commit named by the ASCII
checksum @commit_checksum.</doc>
- <source-position filename="ostree-repo.h" line="1378"/>
+ <source-position filename="ostree-repo.h" line="1410"/>
<return-value transfer-ownership="none">
<doc xml:space="preserve"
filename="ostree-repo.c"
- line="5508">%TRUE if there was a GPG signature from a trusted keyring, otherwise %FALSE</doc>
+ line="5513">%TRUE if there was a GPG signature from a trusted keyring, otherwise %FALSE</doc>
<type name="gboolean" c:type="gboolean"/>
</return-value>
<parameters>
<instance-parameter name="self" transfer-ownership="none">
<doc xml:space="preserve"
filename="ostree-repo.c"
- line="5498">Repository</doc>
+ line="5503">Repository</doc>
<type name="Repo" c:type="OstreeRepo*"/>
</instance-parameter>
<parameter name="commit_checksum" transfer-ownership="none">
<doc xml:space="preserve"
filename="ostree-repo.c"
- line="5499">ASCII SHA256 checksum</doc>
+ line="5504">ASCII SHA256 checksum</doc>
<type name="utf8" c:type="const gchar*"/>
</parameter>
<parameter name="keyringdir"
allow-none="1">
<doc xml:space="preserve"
filename="ostree-repo.c"
- line="5500">Path to directory GPG keyrings; overrides built-in default if given</doc>
+ line="5505">Path to directory GPG keyrings; overrides built-in default if given</doc>
<type name="Gio.File" c:type="GFile*"/>
</parameter>
<parameter name="extra_keyring"
allow-none="1">
<doc xml:space="preserve"
filename="ostree-repo.c"
- line="5501">Path to additional keyring file (not a directory)</doc>
+ line="5506">Path to additional keyring file (not a directory)</doc>
<type name="Gio.File" c:type="GFile*"/>
</parameter>
<parameter name="cancellable"
allow-none="1">
<doc xml:space="preserve"
filename="ostree-repo.c"
- line="5502">Cancellable</doc>
+ line="5507">Cancellable</doc>
<type name="Gio.Cancellable" c:type="GCancellable*"/>
</parameter>
</parameters>
throws="1">
<doc xml:space="preserve"
filename="ostree-repo.c"
- line="5534">Read GPG signature(s) on the commit named by the ASCII checksum
+ line="5539">Read GPG signature(s) on the commit named by the ASCII checksum
@commit_checksum and return detailed results.</doc>
- <source-position filename="ostree-repo.h" line="1430"/>
+ <source-position filename="ostree-repo.h" line="1462"/>
<return-value transfer-ownership="full">
<doc xml:space="preserve"
filename="ostree-repo.c"
- line="5546">an #OstreeGpgVerifyResult, or %NULL on error</doc>
+ line="5551">an #OstreeGpgVerifyResult, or %NULL on error</doc>
<type name="GpgVerifyResult" c:type="OstreeGpgVerifyResult*"/>
</return-value>
<parameters>
<instance-parameter name="self" transfer-ownership="none">
<doc xml:space="preserve"
filename="ostree-repo.c"
- line="5536">Repository</doc>
+ line="5541">Repository</doc>
<type name="Repo" c:type="OstreeRepo*"/>
</instance-parameter>
<parameter name="commit_checksum" transfer-ownership="none">
<doc xml:space="preserve"
filename="ostree-repo.c"
- line="5537">ASCII SHA256 checksum</doc>
+ line="5542">ASCII SHA256 checksum</doc>
<type name="utf8" c:type="const gchar*"/>
</parameter>
<parameter name="keyringdir"
allow-none="1">
<doc xml:space="preserve"
filename="ostree-repo.c"
- line="5538">Path to directory GPG keyrings; overrides built-in default if given</doc>
+ line="5543">Path to directory GPG keyrings; overrides built-in default if given</doc>
<type name="Gio.File" c:type="GFile*"/>
</parameter>
<parameter name="extra_keyring"
allow-none="1">
<doc xml:space="preserve"
filename="ostree-repo.c"
- line="5539">Path to additional keyring file (not a directory)</doc>
+ line="5544">Path to additional keyring file (not a directory)</doc>
<type name="Gio.File" c:type="GFile*"/>
</parameter>
<parameter name="cancellable"
allow-none="1">
<doc xml:space="preserve"
filename="ostree-repo.c"
- line="5540">Cancellable</doc>
+ line="5545">Cancellable</doc>
<type name="Gio.Cancellable" c:type="GCancellable*"/>
</parameter>
</parameters>
throws="1">
<doc xml:space="preserve"
filename="ostree-repo.c"
- line="5570">Read GPG signature(s) on the commit named by the ASCII checksum
+ line="5575">Read GPG signature(s) on the commit named by the ASCII checksum
@commit_checksum and return detailed results, based on the keyring
configured for @remote.</doc>
- <source-position filename="ostree-repo.h" line="1439"/>
+ <source-position filename="ostree-repo.h" line="1471"/>
<return-value transfer-ownership="full">
<doc xml:space="preserve"
filename="ostree-repo.c"
- line="5582">an #OstreeGpgVerifyResult, or %NULL on error</doc>
+ line="5587">an #OstreeGpgVerifyResult, or %NULL on error</doc>
<type name="GpgVerifyResult" c:type="OstreeGpgVerifyResult*"/>
</return-value>
<parameters>
<instance-parameter name="self" transfer-ownership="none">
<doc xml:space="preserve"
filename="ostree-repo.c"
- line="5572">Repository</doc>
+ line="5577">Repository</doc>
<type name="Repo" c:type="OstreeRepo*"/>
</instance-parameter>
<parameter name="commit_checksum" transfer-ownership="none">
<doc xml:space="preserve"
filename="ostree-repo.c"
- line="5573">ASCII SHA256 checksum</doc>
+ line="5578">ASCII SHA256 checksum</doc>
<type name="utf8" c:type="const gchar*"/>
</parameter>
<parameter name="remote_name" transfer-ownership="none">
<doc xml:space="preserve"
filename="ostree-repo.c"
- line="5574">OSTree remote to use for configuration</doc>
+ line="5579">OSTree remote to use for configuration</doc>
<type name="utf8" c:type="const gchar*"/>
</parameter>
<parameter name="cancellable"
allow-none="1">
<doc xml:space="preserve"
filename="ostree-repo.c"
- line="5575">Cancellable</doc>
+ line="5580">Cancellable</doc>
<type name="Gio.Cancellable" c:type="GCancellable*"/>
</parameter>
</parameters>
throws="1">
<doc xml:space="preserve"
filename="ostree-repo.c"
- line="5657">Verify @signatures for @summary data using GPG keys in the keyring for
+ line="5662">Verify @signatures for @summary data using GPG keys in the keyring for
@remote_name, and return an #OstreeGpgVerifyResult.</doc>
- <source-position filename="ostree-repo.h" line="1456"/>
+ <source-position filename="ostree-repo.h" line="1488"/>
<return-value transfer-ownership="full">
<doc xml:space="preserve"
filename="ostree-repo.c"
- line="5669">an #OstreeGpgVerifyResult, or %NULL on error</doc>
+ line="5674">an #OstreeGpgVerifyResult, or %NULL on error</doc>
<type name="GpgVerifyResult" c:type="OstreeGpgVerifyResult*"/>
</return-value>
<parameters>
<instance-parameter name="self" transfer-ownership="none">
<doc xml:space="preserve"
filename="ostree-repo.c"
- line="5659">Repo</doc>
+ line="5664">Repo</doc>
<type name="Repo" c:type="OstreeRepo*"/>
</instance-parameter>
<parameter name="remote_name" transfer-ownership="none">
<doc xml:space="preserve"
filename="ostree-repo.c"
- line="5660">Name of remote</doc>
+ line="5665">Name of remote</doc>
<type name="utf8" c:type="const char*"/>
</parameter>
<parameter name="summary" transfer-ownership="none">
<doc xml:space="preserve"
filename="ostree-repo.c"
- line="5661">Summary data as a #GBytes</doc>
+ line="5666">Summary data as a #GBytes</doc>
<type name="GLib.Bytes" c:type="GBytes*"/>
</parameter>
<parameter name="signatures" transfer-ownership="none">
<doc xml:space="preserve"
filename="ostree-repo.c"
- line="5662">Summary signatures as a #GBytes</doc>
+ line="5667">Summary signatures as a #GBytes</doc>
<type name="GLib.Bytes" c:type="GBytes*"/>
</parameter>
<parameter name="cancellable"
allow-none="1">
<doc xml:space="preserve"
filename="ostree-repo.c"
- line="5663">Cancellable</doc>
+ line="5668">Cancellable</doc>
<type name="Gio.Cancellable" c:type="GCancellable*"/>
</parameter>
</parameters>
filename="ostree-repo-libarchive.c"
line="968">Import an archive file @archive into the repository, and write its
file structure to @mtree.</doc>
- <source-position filename="ostree-repo.h" line="730"/>
+ <source-position filename="ostree-repo.h" line="762"/>
<return-value transfer-ownership="none">
<type name="gboolean" c:type="gboolean"/>
</return-value>
filename="ostree-repo-libarchive.c"
line="1003">Read an archive from @fd and import it into the repository, writing
its file structure to @mtree.</doc>
- <source-position filename="ostree-repo.h" line="740"/>
+ <source-position filename="ostree-repo.h" line="772"/>
<return-value transfer-ownership="none">
<type name="gboolean" c:type="gboolean"/>
</return-value>
throws="1">
<doc xml:space="preserve"
filename="ostree-repo-commit.c"
- line="2889">Write a commit metadata object, referencing @root_contents_checksum
+ line="3009">Write a commit metadata object, referencing @root_contents_checksum
and @root_metadata_checksum.</doc>
- <source-position filename="ostree-repo.h" line="839"/>
+ <source-position filename="ostree-repo.h" line="871"/>
<return-value transfer-ownership="none">
<type name="gboolean" c:type="gboolean"/>
</return-value>
<instance-parameter name="self" transfer-ownership="none">
<doc xml:space="preserve"
filename="ostree-repo-commit.c"
- line="2891">Repo</doc>
+ line="3011">Repo</doc>
<type name="Repo" c:type="OstreeRepo*"/>
</instance-parameter>
<parameter name="parent"
allow-none="1">
<doc xml:space="preserve"
filename="ostree-repo-commit.c"
- line="2892">ASCII SHA256 checksum for parent, or %NULL for none</doc>
+ line="3012">ASCII SHA256 checksum for parent, or %NULL for none</doc>
<type name="utf8" c:type="const char*"/>
</parameter>
<parameter name="subject"
allow-none="1">
<doc xml:space="preserve"
filename="ostree-repo-commit.c"
- line="2893">Subject</doc>
+ line="3013">Subject</doc>
<type name="utf8" c:type="const char*"/>
</parameter>
<parameter name="body"
allow-none="1">
<doc xml:space="preserve"
filename="ostree-repo-commit.c"
- line="2894">Body</doc>
+ line="3014">Body</doc>
<type name="utf8" c:type="const char*"/>
</parameter>
<parameter name="metadata"
allow-none="1">
<doc xml:space="preserve"
filename="ostree-repo-commit.c"
- line="2895">GVariant of type a{sv}, or %NULL for none</doc>
+ line="3015">GVariant of type a{sv}, or %NULL for none</doc>
<type name="GLib.Variant" c:type="GVariant*"/>
</parameter>
<parameter name="root" transfer-ownership="none">
<doc xml:space="preserve"
filename="ostree-repo-commit.c"
- line="2896">The tree to point the commit to</doc>
+ line="3016">The tree to point the commit to</doc>
<type name="RepoFile" c:type="OstreeRepoFile*"/>
</parameter>
<parameter name="out_commit"
transfer-ownership="full">
<doc xml:space="preserve"
filename="ostree-repo-commit.c"
- line="2897">Resulting ASCII SHA256 checksum for commit</doc>
+ line="3017">Resulting ASCII SHA256 checksum for commit</doc>
<type name="utf8" c:type="char**"/>
</parameter>
<parameter name="cancellable"
allow-none="1">
<doc xml:space="preserve"
filename="ostree-repo-commit.c"
- line="2898">Cancellable</doc>
+ line="3018">Cancellable</doc>
<type name="Gio.Cancellable" c:type="GCancellable*"/>
</parameter>
</parameters>
throws="1">
<doc xml:space="preserve"
filename="ostree-repo-commit.c"
- line="3023">Replace any existing metadata associated with commit referred to by
+ line="3143">Replace any existing metadata associated with commit referred to by
@checksum with @metadata. If @metadata is %NULL, then existing
data will be deleted.</doc>
- <source-position filename="ostree-repo.h" line="869"/>
+ <source-position filename="ostree-repo.h" line="901"/>
<return-value transfer-ownership="none">
<type name="gboolean" c:type="gboolean"/>
</return-value>
<instance-parameter name="self" transfer-ownership="none">
<doc xml:space="preserve"
filename="ostree-repo-commit.c"
- line="3025">Repo</doc>
+ line="3145">Repo</doc>
<type name="Repo" c:type="OstreeRepo*"/>
</instance-parameter>
<parameter name="checksum" transfer-ownership="none">
<doc xml:space="preserve"
filename="ostree-repo-commit.c"
- line="3026">ASCII SHA256 commit checksum</doc>
+ line="3146">ASCII SHA256 commit checksum</doc>
<type name="utf8" c:type="const char*"/>
</parameter>
<parameter name="metadata"
allow-none="1">
<doc xml:space="preserve"
filename="ostree-repo-commit.c"
- line="3027">Metadata to associate with commit in with format "a{sv}", or %NULL to delete</doc>
+ line="3147">Metadata to associate with commit in with format "a{sv}", or %NULL to delete</doc>
<type name="GLib.Variant" c:type="GVariant*"/>
</parameter>
<parameter name="cancellable"
allow-none="1">
<doc xml:space="preserve"
filename="ostree-repo-commit.c"
- line="3028">Cancellable</doc>
+ line="3148">Cancellable</doc>
<type name="Gio.Cancellable" c:type="GCancellable*"/>
</parameter>
</parameters>
throws="1">
<doc xml:space="preserve"
filename="ostree-repo-commit.c"
- line="2921">Write a commit metadata object, referencing @root_contents_checksum
+ line="3041">Write a commit metadata object, referencing @root_contents_checksum
and @root_metadata_checksum.</doc>
- <source-position filename="ostree-repo.h" line="850"/>
+ <source-position filename="ostree-repo.h" line="882"/>
<return-value transfer-ownership="none">
<type name="gboolean" c:type="gboolean"/>
</return-value>
<instance-parameter name="self" transfer-ownership="none">
<doc xml:space="preserve"
filename="ostree-repo-commit.c"
- line="2923">Repo</doc>
+ line="3043">Repo</doc>
<type name="Repo" c:type="OstreeRepo*"/>
</instance-parameter>
<parameter name="parent"
allow-none="1">
<doc xml:space="preserve"
filename="ostree-repo-commit.c"
- line="2924">ASCII SHA256 checksum for parent, or %NULL for none</doc>
+ line="3044">ASCII SHA256 checksum for parent, or %NULL for none</doc>
<type name="utf8" c:type="const char*"/>
</parameter>
<parameter name="subject"
allow-none="1">
<doc xml:space="preserve"
filename="ostree-repo-commit.c"
- line="2925">Subject</doc>
+ line="3045">Subject</doc>
<type name="utf8" c:type="const char*"/>
</parameter>
<parameter name="body"
allow-none="1">
<doc xml:space="preserve"
filename="ostree-repo-commit.c"
- line="2926">Body</doc>
+ line="3046">Body</doc>
<type name="utf8" c:type="const char*"/>
</parameter>
<parameter name="metadata"
allow-none="1">
<doc xml:space="preserve"
filename="ostree-repo-commit.c"
- line="2927">GVariant of type a{sv}, or %NULL for none</doc>
+ line="3047">GVariant of type a{sv}, or %NULL for none</doc>
<type name="GLib.Variant" c:type="GVariant*"/>
</parameter>
<parameter name="root" transfer-ownership="none">
<doc xml:space="preserve"
filename="ostree-repo-commit.c"
- line="2928">The tree to point the commit to</doc>
+ line="3048">The tree to point the commit to</doc>
<type name="RepoFile" c:type="OstreeRepoFile*"/>
</parameter>
<parameter name="time" transfer-ownership="none">
<doc xml:space="preserve"
filename="ostree-repo-commit.c"
- line="2929">The time to use to stamp the commit</doc>
+ line="3049">The time to use to stamp the commit</doc>
<type name="guint64" c:type="guint64"/>
</parameter>
<parameter name="out_commit"
transfer-ownership="full">
<doc xml:space="preserve"
filename="ostree-repo-commit.c"
- line="2930">Resulting ASCII SHA256 checksum for commit</doc>
+ line="3050">Resulting ASCII SHA256 checksum for commit</doc>
<type name="utf8" c:type="char**"/>
</parameter>
<parameter name="cancellable"
allow-none="1">
<doc xml:space="preserve"
filename="ostree-repo-commit.c"
- line="2931">Cancellable</doc>
+ line="3051">Cancellable</doc>
<type name="Gio.Cancellable" c:type="GCancellable*"/>
</parameter>
</parameters>
c:identifier="ostree_repo_write_content_async">
<doc xml:space="preserve"
filename="ostree-repo-commit.c"
- line="2812">Asynchronously store the content object @object. If provided, the
+ line="2932">Asynchronously store the content object @object. If provided, the
checksum @expected_checksum will be verified.</doc>
- <source-position filename="ostree-repo.h" line="452"/>
+ <source-position filename="ostree-repo.h" line="484"/>
<return-value transfer-ownership="none">
<type name="none" c:type="void"/>
</return-value>
<instance-parameter name="self" transfer-ownership="none">
<doc xml:space="preserve"
filename="ostree-repo-commit.c"
- line="2814">Repo</doc>
+ line="2934">Repo</doc>
<type name="Repo" c:type="OstreeRepo*"/>
</instance-parameter>
<parameter name="expected_checksum"
allow-none="1">
<doc xml:space="preserve"
filename="ostree-repo-commit.c"
- line="2815">If provided, validate content against this checksum</doc>
+ line="2935">If provided, validate content against this checksum</doc>
<type name="utf8" c:type="const char*"/>
</parameter>
<parameter name="object" transfer-ownership="none">
<doc xml:space="preserve"
filename="ostree-repo-commit.c"
- line="2816">Input</doc>
+ line="2936">Input</doc>
<type name="Gio.InputStream" c:type="GInputStream*"/>
</parameter>
<parameter name="length" transfer-ownership="none">
<doc xml:space="preserve"
filename="ostree-repo-commit.c"
- line="2817">Length of @object</doc>
+ line="2937">Length of @object</doc>
<type name="guint64" c:type="guint64"/>
</parameter>
<parameter name="cancellable"
allow-none="1">
<doc xml:space="preserve"
filename="ostree-repo-commit.c"
- line="2818">Cancellable</doc>
+ line="2938">Cancellable</doc>
<type name="Gio.Cancellable" c:type="GCancellable*"/>
</parameter>
<parameter name="callback"
closure="5">
<doc xml:space="preserve"
filename="ostree-repo-commit.c"
- line="2819">Invoked when content is writed</doc>
+ line="2939">Invoked when content is writed</doc>
<type name="Gio.AsyncReadyCallback" c:type="GAsyncReadyCallback"/>
</parameter>
<parameter name="user_data"
allow-none="1">
<doc xml:space="preserve"
filename="ostree-repo-commit.c"
- line="2820">User data for @callback</doc>
+ line="2940">User data for @callback</doc>
<type name="gpointer" c:type="gpointer"/>
</parameter>
</parameters>
throws="1">
<doc xml:space="preserve"
filename="ostree-repo-commit.c"
- line="2853">Completes an invocation of ostree_repo_write_content_async().</doc>
- <source-position filename="ostree-repo.h" line="461"/>
+ line="2973">Completes an invocation of ostree_repo_write_content_async().</doc>
+ <source-position filename="ostree-repo.h" line="493"/>
<return-value transfer-ownership="none">
<type name="gboolean" c:type="gboolean"/>
</return-value>
<instance-parameter name="self" transfer-ownership="none">
<doc xml:space="preserve"
filename="ostree-repo-commit.c"
- line="2855">a #OstreeRepo</doc>
+ line="2975">a #OstreeRepo</doc>
<type name="Repo" c:type="OstreeRepo*"/>
</instance-parameter>
<parameter name="result" transfer-ownership="none">
<doc xml:space="preserve"
filename="ostree-repo-commit.c"
- line="2856">a #GAsyncResult</doc>
+ line="2976">a #GAsyncResult</doc>
<type name="Gio.AsyncResult" c:type="GAsyncResult*"/>
</parameter>
<parameter name="out_csum"
transfer-ownership="full">
<doc xml:space="preserve"
filename="ostree-repo-commit.c"
- line="2857">A binary SHA256 checksum of the content object</doc>
+ line="2977">A binary SHA256 checksum of the content object</doc>
<type name="guint8" c:type="guchar**"/>
</parameter>
</parameters>
This function should be used when importing file objects from local
disk, for example.</doc>
- <source-position filename="ostree-repo.h" line="444"/>
+ <source-position filename="ostree-repo.h" line="476"/>
<return-value transfer-ownership="none">
<type name="gboolean" c:type="gboolean"/>
</return-value>
throws="1">
<doc xml:space="preserve"
filename="ostree-repo-commit.c"
- line="3978">Store as objects all contents of the directory referred to by @dfd
+ line="4098">Store as objects all contents of the directory referred to by @dfd
and @path all children into the repository @self, overlaying the
resulting filesystem hierarchy into @mtree.</doc>
- <source-position filename="ostree-repo.h" line="720"/>
+ <source-position filename="ostree-repo.h" line="752"/>
<return-value transfer-ownership="none">
<type name="gboolean" c:type="gboolean"/>
</return-value>
<instance-parameter name="self" transfer-ownership="none">
<doc xml:space="preserve"
filename="ostree-repo-commit.c"
- line="3980">Repo</doc>
+ line="4100">Repo</doc>
<type name="Repo" c:type="OstreeRepo*"/>
</instance-parameter>
<parameter name="dfd" transfer-ownership="none">
<doc xml:space="preserve"
filename="ostree-repo-commit.c"
- line="3981">Directory file descriptor</doc>
+ line="4101">Directory file descriptor</doc>
<type name="gint" c:type="int"/>
</parameter>
<parameter name="path" transfer-ownership="none">
<doc xml:space="preserve"
filename="ostree-repo-commit.c"
- line="3982">Path</doc>
+ line="4102">Path</doc>
<type name="utf8" c:type="const char*"/>
</parameter>
<parameter name="mtree" transfer-ownership="none">
<doc xml:space="preserve"
filename="ostree-repo-commit.c"
- line="3983">Overlay directory contents into this tree</doc>
+ line="4103">Overlay directory contents into this tree</doc>
<type name="MutableTree" c:type="OstreeMutableTree*"/>
</parameter>
<parameter name="modifier"
allow-none="1">
<doc xml:space="preserve"
filename="ostree-repo-commit.c"
- line="3984">Optional modifier</doc>
+ line="4104">Optional modifier</doc>
<type name="RepoCommitModifier"
c:type="OstreeRepoCommitModifier*"/>
</parameter>
allow-none="1">
<doc xml:space="preserve"
filename="ostree-repo-commit.c"
- line="3985">Cancellable</doc>
+ line="4105">Cancellable</doc>
<type name="Gio.Cancellable" c:type="GCancellable*"/>
</parameter>
</parameters>
throws="1">
<doc xml:space="preserve"
filename="ostree-repo-commit.c"
- line="3937">Store objects for @dir and all children into the repository @self,
+ line="4057">Store objects for @dir and all children into the repository @self,
overlaying the resulting filesystem hierarchy into @mtree.</doc>
- <source-position filename="ostree-repo.h" line="712"/>
+ <source-position filename="ostree-repo.h" line="744"/>
<return-value transfer-ownership="none">
<type name="gboolean" c:type="gboolean"/>
</return-value>
<instance-parameter name="self" transfer-ownership="none">
<doc xml:space="preserve"
filename="ostree-repo-commit.c"
- line="3939">Repo</doc>
+ line="4059">Repo</doc>
<type name="Repo" c:type="OstreeRepo*"/>
</instance-parameter>
<parameter name="dir" transfer-ownership="none">
<doc xml:space="preserve"
filename="ostree-repo-commit.c"
- line="3940">Path to a directory</doc>
+ line="4060">Path to a directory</doc>
<type name="Gio.File" c:type="GFile*"/>
</parameter>
<parameter name="mtree" transfer-ownership="none">
<doc xml:space="preserve"
filename="ostree-repo-commit.c"
- line="3941">Overlay directory contents into this tree</doc>
+ line="4061">Overlay directory contents into this tree</doc>
<type name="MutableTree" c:type="OstreeMutableTree*"/>
</parameter>
<parameter name="modifier"
allow-none="1">
<doc xml:space="preserve"
filename="ostree-repo-commit.c"
- line="3942">Optional modifier</doc>
+ line="4062">Optional modifier</doc>
<type name="RepoCommitModifier"
c:type="OstreeRepoCommitModifier*"/>
</parameter>
allow-none="1">
<doc xml:space="preserve"
filename="ostree-repo-commit.c"
- line="3943">Cancellable</doc>
+ line="4063">Cancellable</doc>
<type name="Gio.Cancellable" c:type="GCancellable*"/>
</parameter>
</parameters>
filename="ostree-repo-commit.c"
line="2494">Store the metadata object @variant; the provided @checksum is
trusted.</doc>
- <source-position filename="ostree-repo.h" line="435"/>
+ <source-position filename="ostree-repo.h" line="467"/>
<return-value transfer-ownership="none">
<type name="gboolean" c:type="gboolean"/>
</return-value>
filename="ostree-repo-commit.c"
line="2531">Store the metadata object @variant; the provided @checksum is
trusted.</doc>
- <source-position filename="ostree-repo.h" line="427"/>
+ <source-position filename="ostree-repo.h" line="459"/>
<return-value transfer-ownership="none">
<type name="gboolean" c:type="gboolean"/>
</return-value>
throws="1">
<doc xml:space="preserve"
filename="ostree-repo-commit.c"
- line="4028">Write all metadata objects for @mtree to repo; the resulting
+ line="4148">Write all metadata objects for @mtree to repo; the resulting
@out_file points to the %OSTREE_OBJECT_TYPE_DIR_TREE object that
the @mtree represented.</doc>
- <source-position filename="ostree-repo.h" line="832"/>
+ <source-position filename="ostree-repo.h" line="864"/>
<return-value transfer-ownership="none">
<type name="gboolean" c:type="gboolean"/>
</return-value>
<instance-parameter name="self" transfer-ownership="none">
<doc xml:space="preserve"
filename="ostree-repo-commit.c"
- line="4030">Repo</doc>
+ line="4150">Repo</doc>
<type name="Repo" c:type="OstreeRepo*"/>
</instance-parameter>
<parameter name="mtree" transfer-ownership="none">
<doc xml:space="preserve"
filename="ostree-repo-commit.c"
- line="4031">Mutable tree</doc>
+ line="4151">Mutable tree</doc>
<type name="MutableTree" c:type="OstreeMutableTree*"/>
</parameter>
<parameter name="out_file"
transfer-ownership="full">
<doc xml:space="preserve"
filename="ostree-repo-commit.c"
- line="4032">An #OstreeRepoFile representing @mtree's root.</doc>
+ line="4152">An #OstreeRepoFile representing @mtree's root.</doc>
<type name="Gio.File" c:type="GFile**"/>
</parameter>
<parameter name="cancellable"
allow-none="1">
<doc xml:space="preserve"
filename="ostree-repo-commit.c"
- line="4033">Cancellable</doc>
+ line="4153">Cancellable</doc>
+ <type name="Gio.Cancellable" c:type="GCancellable*"/>
+ </parameter>
+ </parameters>
+ </method>
+ <method name="write_regfile"
+ c:identifier="ostree_repo_write_regfile"
+ version="2021.2"
+ throws="1">
+ <doc xml:space="preserve"
+ filename="ostree-repo-commit.c"
+ line="2859">Create an `OstreeContentWriter` that allows streaming output into
+the repository.</doc>
+ <source-position filename="ostree-repo.h" line="439"/>
+ <return-value transfer-ownership="full">
+ <doc xml:space="preserve"
+ filename="ostree-repo-commit.c"
+ line="2873">A new writer, or %NULL on error</doc>
+ <type name="ContentWriter" c:type="OstreeContentWriter*"/>
+ </return-value>
+ <parameters>
+ <instance-parameter name="self" transfer-ownership="none">
+ <doc xml:space="preserve"
+ filename="ostree-repo-commit.c"
+ line="2861">Repo,</doc>
+ <type name="Repo" c:type="OstreeRepo*"/>
+ </instance-parameter>
+ <parameter name="expected_checksum"
+ transfer-ownership="none"
+ nullable="1"
+ allow-none="1">
+ <doc xml:space="preserve"
+ filename="ostree-repo-commit.c"
+ line="2862">Expected checksum (SHA-256 hex string)</doc>
+ <type name="utf8" c:type="const char*"/>
+ </parameter>
+ <parameter name="uid" transfer-ownership="none">
+ <doc xml:space="preserve"
+ filename="ostree-repo-commit.c"
+ line="2863">user id</doc>
+ <type name="guint32" c:type="guint32"/>
+ </parameter>
+ <parameter name="gid" transfer-ownership="none">
+ <doc xml:space="preserve"
+ filename="ostree-repo-commit.c"
+ line="2864">group id</doc>
+ <type name="guint32" c:type="guint32"/>
+ </parameter>
+ <parameter name="mode" transfer-ownership="none">
+ <doc xml:space="preserve"
+ filename="ostree-repo-commit.c"
+ line="2865">Unix file mode</doc>
+ <type name="guint32" c:type="guint32"/>
+ </parameter>
+ <parameter name="content_len" transfer-ownership="none">
+ <doc xml:space="preserve"
+ filename="ostree-repo-commit.c"
+ line="2866">Expected content length</doc>
+ <type name="guint64" c:type="guint64"/>
+ </parameter>
+ <parameter name="xattrs"
+ transfer-ownership="none"
+ nullable="1"
+ allow-none="1">
+ <doc xml:space="preserve"
+ filename="ostree-repo-commit.c"
+ line="2867">Extended attributes (GVariant type `(ayay)`)</doc>
+ <type name="GLib.Variant" c:type="GVariant*"/>
+ </parameter>
+ </parameters>
+ </method>
+ <method name="write_regfile_inline"
+ c:identifier="ostree_repo_write_regfile_inline"
+ version="2021.2"
+ throws="1">
+ <doc xml:space="preserve"
+ filename="ostree-repo-commit.c"
+ line="2772">Synchronously create a file object from the provided content. This API
+is intended for small files where it is reasonable to buffer the entire
+content in memory.
+
+Unlike `ostree_repo_write_content()`, if @expected_checksum is provided,
+this function will not check for the presence of the object beforehand.</doc>
+ <source-position filename="ostree-repo.h" line="427"/>
+ <return-value transfer-ownership="full">
+ <doc xml:space="preserve"
+ filename="ostree-repo-commit.c"
+ line="2791">Checksum (as a hex string) of the committed file</doc>
+ <type name="utf8" c:type="char*"/>
+ </return-value>
+ <parameters>
+ <instance-parameter name="self" transfer-ownership="none">
+ <doc xml:space="preserve"
+ filename="ostree-repo-commit.c"
+ line="2774">repo</doc>
+ <type name="Repo" c:type="OstreeRepo*"/>
+ </instance-parameter>
+ <parameter name="expected_checksum"
+ transfer-ownership="none"
+ nullable="1"
+ allow-none="1">
+ <doc xml:space="preserve"
+ filename="ostree-repo-commit.c"
+ line="2775">The expected checksum</doc>
+ <type name="utf8" c:type="const char*"/>
+ </parameter>
+ <parameter name="uid" transfer-ownership="none">
+ <doc xml:space="preserve"
+ filename="ostree-repo-commit.c"
+ line="2776">User id</doc>
+ <type name="guint32" c:type="guint32"/>
+ </parameter>
+ <parameter name="gid" transfer-ownership="none">
+ <doc xml:space="preserve"
+ filename="ostree-repo-commit.c"
+ line="2777">Group id</doc>
+ <type name="guint32" c:type="guint32"/>
+ </parameter>
+ <parameter name="mode" transfer-ownership="none">
+ <doc xml:space="preserve"
+ filename="ostree-repo-commit.c"
+ line="2778">File mode</doc>
+ <type name="guint32" c:type="guint32"/>
+ </parameter>
+ <parameter name="xattrs"
+ transfer-ownership="none"
+ nullable="1"
+ allow-none="1">
+ <doc xml:space="preserve"
+ filename="ostree-repo-commit.c"
+ line="2779">Extended attributes, GVariant of type (ayay)</doc>
+ <type name="GLib.Variant" c:type="GVariant*"/>
+ </parameter>
+ <parameter name="buf" transfer-ownership="none">
+ <doc xml:space="preserve"
+ filename="ostree-repo-commit.c"
+ line="2780">File contents</doc>
+ <array length="6" zero-terminated="0" c:type="const guint8*">
+ <type name="guint8"/>
+ </array>
+ </parameter>
+ <parameter name="len" transfer-ownership="none">
+ <type name="gsize" c:type="gsize"/>
+ </parameter>
+ <parameter name="cancellable"
+ transfer-ownership="none"
+ nullable="1"
+ allow-none="1">
+ <doc xml:space="preserve"
+ filename="ostree-repo-commit.c"
+ line="2781">Cancellable</doc>
+ <type name="Gio.Cancellable" c:type="GCancellable*"/>
+ </parameter>
+ </parameters>
+ </method>
+ <method name="write_symlink"
+ c:identifier="ostree_repo_write_symlink"
+ version="2021.2"
+ throws="1">
+ <doc xml:space="preserve"
+ filename="ostree-repo-commit.c"
+ line="2818">Synchronously create a symlink object.
+
+Unlike `ostree_repo_write_content()`, if @expected_checksum is provided,
+this function will not check for the presence of the object beforehand.</doc>
+ <source-position filename="ostree-repo.h" line="449"/>
+ <return-value transfer-ownership="full">
+ <doc xml:space="preserve"
+ filename="ostree-repo-commit.c"
+ line="2834">Checksum (as a hex string) of the committed file</doc>
+ <type name="utf8" c:type="char*"/>
+ </return-value>
+ <parameters>
+ <instance-parameter name="self" transfer-ownership="none">
+ <doc xml:space="preserve"
+ filename="ostree-repo-commit.c"
+ line="2820">repo</doc>
+ <type name="Repo" c:type="OstreeRepo*"/>
+ </instance-parameter>
+ <parameter name="expected_checksum"
+ transfer-ownership="none"
+ nullable="1"
+ allow-none="1">
+ <doc xml:space="preserve"
+ filename="ostree-repo-commit.c"
+ line="2821">The expected checksum</doc>
+ <type name="utf8" c:type="const char*"/>
+ </parameter>
+ <parameter name="uid" transfer-ownership="none">
+ <doc xml:space="preserve"
+ filename="ostree-repo-commit.c"
+ line="2822">User id</doc>
+ <type name="guint32" c:type="guint32"/>
+ </parameter>
+ <parameter name="gid" transfer-ownership="none">
+ <doc xml:space="preserve"
+ filename="ostree-repo-commit.c"
+ line="2823">Group id</doc>
+ <type name="guint32" c:type="guint32"/>
+ </parameter>
+ <parameter name="xattrs"
+ transfer-ownership="none"
+ nullable="1"
+ allow-none="1">
+ <doc xml:space="preserve"
+ filename="ostree-repo-commit.c"
+ line="2824">Extended attributes, GVariant of type (ayay)</doc>
+ <type name="GLib.Variant" c:type="GVariant*"/>
+ </parameter>
+ <parameter name="symlink_target" transfer-ownership="none">
+ <doc xml:space="preserve"
+ filename="ostree-repo-commit.c"
+ line="2825">Target of the symbolic link</doc>
+ <type name="utf8" c:type="const char*"/>
+ </parameter>
+ <parameter name="cancellable"
+ transfer-ownership="none"
+ nullable="1"
+ allow-none="1">
+ <doc xml:space="preserve"
+ filename="ostree-repo-commit.c"
+ line="2826">Cancellable</doc>
<type name="Gio.Cancellable" c:type="GCancellable*"/>
</parameter>
</parameters>
<record name="RepoCheckoutAtOptions" c:type="OstreeRepoCheckoutAtOptions">
<doc xml:space="preserve"
filename="ostree-repo.h"
- line="938">An extensible options structure controlling checkout. Ensure that
+ line="970">An extensible options structure controlling checkout. Ensure that
you have entirely zeroed the structure, then set just the desired
options. This is used by ostree_repo_checkout_at() which
supercedes previous separate enumeration usage in
ostree_repo_checkout_tree() and ostree_repo_checkout_tree_at().</doc>
- <source-position filename="ostree-repo.h" line="971"/>
+ <source-position filename="ostree-repo.h" line="1003"/>
<field name="mode" writable="1">
<type name="RepoCheckoutMode" c:type="OstreeRepoCheckoutMode"/>
</field>
Note that cache does *not* have its refcount incremented - the lifetime of
@cache must be equal to or greater than that of @opts.</doc>
- <source-position filename="ostree-repo.h" line="983"/>
+ <source-position filename="ostree-repo.h" line="1015"/>
<return-value transfer-ownership="none">
<type name="none" c:type="void"/>
</return-value>
<callback name="RepoCheckoutFilter"
c:type="OstreeRepoCheckoutFilter"
version="2018.2">
- <source-position filename="ostree-repo.h" line="933"/>
+ <source-position filename="ostree-repo.h" line="965"/>
<return-value transfer-ownership="none">
<doc xml:space="preserve"
filename="ostree-repo.h"
- line="929">#OstreeRepoCheckoutFilterResult saying whether or not to checkout this file</doc>
+ line="961">#OstreeRepoCheckoutFilterResult saying whether or not to checkout this file</doc>
<type name="RepoCheckoutFilterResult"
c:type="OstreeRepoCheckoutFilterResult"/>
</return-value>
<parameter name="repo" transfer-ownership="none">
<doc xml:space="preserve"
filename="ostree-repo.h"
- line="924">Repo</doc>
+ line="956">Repo</doc>
<type name="Repo" c:type="OstreeRepo*"/>
</parameter>
<parameter name="path" transfer-ownership="none">
<doc xml:space="preserve"
filename="ostree-repo.h"
- line="925">Path to file</doc>
+ line="957">Path to file</doc>
<type name="utf8" c:type="const char*"/>
</parameter>
<parameter name="stbuf"
allow-none="1">
<doc xml:space="preserve"
filename="ostree-repo.h"
- line="926">File information</doc>
+ line="958">File information</doc>
<type name="gpointer" c:type="stat*"/>
</parameter>
<parameter name="user_data"
closure="3">
<doc xml:space="preserve"
filename="ostree-repo.h"
- line="927">User data</doc>
+ line="959">User data</doc>
<type name="gpointer" c:type="gpointer"/>
</parameter>
</parameters>
<enumeration name="RepoCheckoutFilterResult"
version="2018.2"
c:type="OstreeRepoCheckoutFilterResult">
- <source-position filename="ostree-repo.h" line="920"/>
+ <source-position filename="ostree-repo.h" line="952"/>
<member name="allow"
value="0"
c:identifier="OSTREE_REPO_CHECKOUT_FILTER_ALLOW">
<doc xml:space="preserve"
filename="ostree-repo.h"
- line="912">Do checkout this object</doc>
+ line="944">Do checkout this object</doc>
</member>
<member name="skip"
value="1"
c:identifier="OSTREE_REPO_CHECKOUT_FILTER_SKIP">
<doc xml:space="preserve"
filename="ostree-repo.h"
- line="913">Ignore this object</doc>
+ line="945">Ignore this object</doc>
</member>
</enumeration>
<enumeration name="RepoCheckoutMode" c:type="OstreeRepoCheckoutMode">
- <source-position filename="ostree-repo.h" line="883"/>
+ <source-position filename="ostree-repo.h" line="915"/>
<member name="none"
value="0"
c:identifier="OSTREE_REPO_CHECKOUT_MODE_NONE">
<doc xml:space="preserve"
filename="ostree-repo.h"
- line="877">No special options</doc>
+ line="909">No special options</doc>
</member>
<member name="user"
value="1"
c:identifier="OSTREE_REPO_CHECKOUT_MODE_USER">
<doc xml:space="preserve"
filename="ostree-repo.h"
- line="878">Ignore uid/gid of files</doc>
+ line="910">Ignore uid/gid of files</doc>
</member>
</enumeration>
<record name="RepoCheckoutOptions"
</record>
<enumeration name="RepoCheckoutOverwriteMode"
c:type="OstreeRepoCheckoutOverwriteMode">
- <source-position filename="ostree-repo.h" line="897"/>
+ <source-position filename="ostree-repo.h" line="929"/>
<member name="none"
value="0"
c:identifier="OSTREE_REPO_CHECKOUT_OVERWRITE_NONE">
<doc xml:space="preserve"
filename="ostree-repo.h"
- line="887">No special options</doc>
+ line="919">No special options</doc>
</member>
<member name="union_files"
value="1"
c:identifier="OSTREE_REPO_CHECKOUT_OVERWRITE_UNION_FILES">
<doc xml:space="preserve"
filename="ostree-repo.h"
- line="888">When layering checkouts, unlink() and replace existing files, but do not modify existing directories (unless whiteouts are enabled, then directories are replaced)</doc>
+ line="920">When layering checkouts, unlink() and replace existing files, but do not modify existing directories (unless whiteouts are enabled, then directories are replaced)</doc>
</member>
<member name="add_files"
value="2"
c:identifier="OSTREE_REPO_CHECKOUT_OVERWRITE_ADD_FILES">
<doc xml:space="preserve"
filename="ostree-repo.h"
- line="889">Only add new files/directories</doc>
+ line="921">Only add new files/directories</doc>
</member>
<member name="union_identical"
value="3"
c:identifier="OSTREE_REPO_CHECKOUT_OVERWRITE_UNION_IDENTICAL">
<doc xml:space="preserve"
filename="ostree-repo.h"
- line="890">Like UNION_FILES, but error if files are not identical (requires hardlink checkouts)</doc>
+ line="922">Like UNION_FILES, but error if files are not identical (requires hardlink checkouts)</doc>
</member>
</enumeration>
<callback name="RepoCommitFilter" c:type="OstreeRepoCommitFilter">
- <source-position filename="ostree-repo.h" line="639"/>
+ <source-position filename="ostree-repo.h" line="671"/>
<return-value transfer-ownership="none">
<doc xml:space="preserve"
filename="ostree-repo.h"
- line="637">#OstreeRepoCommitFilterResult saying whether or not to commit this file</doc>
+ line="669">#OstreeRepoCommitFilterResult saying whether or not to commit this file</doc>
<type name="RepoCommitFilterResult"
c:type="OstreeRepoCommitFilterResult"/>
</return-value>
<parameter name="repo" transfer-ownership="none">
<doc xml:space="preserve"
filename="ostree-repo.h"
- line="632">Repo</doc>
+ line="664">Repo</doc>
<type name="Repo" c:type="OstreeRepo*"/>
</parameter>
<parameter name="path" transfer-ownership="none">
<doc xml:space="preserve"
filename="ostree-repo.h"
- line="633">Path to file</doc>
+ line="665">Path to file</doc>
<type name="utf8" c:type="const char*"/>
</parameter>
<parameter name="file_info" transfer-ownership="none">
<doc xml:space="preserve"
filename="ostree-repo.h"
- line="634">File information</doc>
+ line="666">File information</doc>
<type name="Gio.FileInfo" c:type="GFileInfo*"/>
</parameter>
<parameter name="user_data"
closure="3">
<doc xml:space="preserve"
filename="ostree-repo.h"
- line="635">User data</doc>
+ line="667">User data</doc>
<type name="gpointer" c:type="gpointer"/>
</parameter>
</parameters>
</callback>
<enumeration name="RepoCommitFilterResult"
c:type="OstreeRepoCommitFilterResult">
- <source-position filename="ostree-repo.h" line="628"/>
+ <source-position filename="ostree-repo.h" line="660"/>
<member name="allow"
value="0"
c:identifier="OSTREE_REPO_COMMIT_FILTER_ALLOW">
<doc xml:space="preserve"
filename="ostree-repo.h"
- line="622">Do commit this object</doc>
+ line="654">Do commit this object</doc>
</member>
<member name="skip"
value="1"
c:identifier="OSTREE_REPO_COMMIT_FILTER_SKIP">
<doc xml:space="preserve"
filename="ostree-repo.h"
- line="623">Ignore this object</doc>
+ line="655">Ignore this object</doc>
</member>
</enumeration>
<enumeration name="RepoCommitIterResult"
c:type="OstreeRepoCommitIterResult">
- <source-position filename="ostree-repo.h" line="1183"/>
+ <source-position filename="ostree-repo.h" line="1215"/>
<member name="error"
value="0"
c:identifier="OSTREE_REPO_COMMIT_ITER_RESULT_ERROR">
c:symbol-prefix="repo_commit_modifier">
<doc xml:space="preserve"
filename="ostree-repo.h"
- line="664">A structure allowing control over commits.</doc>
- <source-position filename="ostree-repo.h" line="669"/>
+ line="696">A structure allowing control over commits.</doc>
+ <source-position filename="ostree-repo.h" line="701"/>
<constructor name="new" c:identifier="ostree_repo_commit_modifier_new">
- <source-position filename="ostree-repo.h" line="672"/>
+ <source-position filename="ostree-repo.h" line="704"/>
<return-value transfer-ownership="full">
<doc xml:space="preserve"
filename="ostree-repo-commit.c"
- line="4116">A new commit modifier.</doc>
+ line="4236">A new commit modifier.</doc>
<type name="RepoCommitModifier" c:type="OstreeRepoCommitModifier*"/>
</return-value>
<parameters>
<parameter name="flags" transfer-ownership="none">
<doc xml:space="preserve"
filename="ostree-repo-commit.c"
- line="4111">Control options for filter</doc>
+ line="4231">Control options for filter</doc>
<type name="RepoCommitModifierFlags"
c:type="OstreeRepoCommitModifierFlags"/>
</parameter>
destroy="3">
<doc xml:space="preserve"
filename="ostree-repo-commit.c"
- line="4112">Function that can inspect individual files</doc>
+ line="4232">Function that can inspect individual files</doc>
<type name="RepoCommitFilter" c:type="OstreeRepoCommitFilter"/>
</parameter>
<parameter name="user_data"
allow-none="1">
<doc xml:space="preserve"
filename="ostree-repo-commit.c"
- line="4113">User data</doc>
+ line="4233">User data</doc>
<type name="gpointer" c:type="gpointer"/>
</parameter>
<parameter name="destroy_notify"
scope="async">
<doc xml:space="preserve"
filename="ostree-repo-commit.c"
- line="4114">A #GDestroyNotify</doc>
+ line="4234">A #GDestroyNotify</doc>
<type name="GLib.DestroyNotify" c:type="GDestroyNotify"/>
</parameter>
</parameters>
</constructor>
<method name="ref" c:identifier="ostree_repo_commit_modifier_ref">
- <source-position filename="ostree-repo.h" line="707"/>
+ <source-position filename="ostree-repo.h" line="739"/>
<return-value transfer-ownership="full">
<type name="RepoCommitModifier" c:type="OstreeRepoCommitModifier*"/>
</return-value>
version="2017.13">
<doc xml:space="preserve"
filename="ostree-repo-commit.c"
- line="4267">See the documentation for
+ line="4387">See the documentation for
`ostree_repo_devino_cache_new()`. This function can
then be used for later calls to
`ostree_repo_write_directory_to_mtree()` to optimize commits.
This function will add a reference to @cache without copying - you
should avoid further mutation of the cache.</doc>
- <source-position filename="ostree-repo.h" line="703"/>
+ <source-position filename="ostree-repo.h" line="735"/>
<return-value transfer-ownership="none">
<type name="none" c:type="void"/>
</return-value>
<instance-parameter name="modifier" transfer-ownership="none">
<doc xml:space="preserve"
filename="ostree-repo-commit.c"
- line="4269">Modifier</doc>
+ line="4389">Modifier</doc>
<type name="RepoCommitModifier"
c:type="OstreeRepoCommitModifier*"/>
</instance-parameter>
<parameter name="cache" transfer-ownership="none">
<doc xml:space="preserve"
filename="ostree-repo-commit.c"
- line="4270">A hash table caching device,inode to checksums</doc>
+ line="4390">A hash table caching device,inode to checksums</doc>
<type name="RepoDevInoCache" c:type="OstreeRepoDevInoCache*"/>
</parameter>
</parameters>
c:identifier="ostree_repo_commit_modifier_set_sepolicy">
<doc xml:space="preserve"
filename="ostree-repo-commit.c"
- line="4189">If @policy is non-%NULL, use it to look up labels to use for
+ line="4309">If @policy is non-%NULL, use it to look up labels to use for
"security.selinux" extended attributes.
Note that any policy specified this way operates in addition to any
ostree_repo_commit_modifier_set_xattr_callback(). However if both
specify a value for "security.selinux", then the one from the
policy wins.</doc>
- <source-position filename="ostree-repo.h" line="692"/>
+ <source-position filename="ostree-repo.h" line="724"/>
<return-value transfer-ownership="none">
<type name="none" c:type="void"/>
</return-value>
<instance-parameter name="modifier" transfer-ownership="none">
<doc xml:space="preserve"
filename="ostree-repo-commit.c"
- line="4191">An #OstreeRepoCommitModifier</doc>
+ line="4311">An #OstreeRepoCommitModifier</doc>
<type name="RepoCommitModifier"
c:type="OstreeRepoCommitModifier*"/>
</instance-parameter>
allow-none="1">
<doc xml:space="preserve"
filename="ostree-repo-commit.c"
- line="4192">Policy to use for labeling</doc>
+ line="4312">Policy to use for labeling</doc>
<type name="SePolicy" c:type="OstreeSePolicy*"/>
</parameter>
</parameters>
throws="1">
<doc xml:space="preserve"
filename="ostree-repo-commit.c"
- line="4211">In many cases, one wants to create a "derived" commit from base commit.
+ line="4331">In many cases, one wants to create a "derived" commit from base commit.
SELinux policy labels are part of that base commit. This API allows
one to easily set up SELinux labeling from a base commit.</doc>
- <source-position filename="ostree-repo.h" line="696"/>
+ <source-position filename="ostree-repo.h" line="728"/>
<return-value transfer-ownership="none">
<type name="gboolean" c:type="gboolean"/>
</return-value>
<instance-parameter name="modifier" transfer-ownership="none">
<doc xml:space="preserve"
filename="ostree-repo-commit.c"
- line="4213">Commit modifier</doc>
+ line="4333">Commit modifier</doc>
<type name="RepoCommitModifier"
c:type="OstreeRepoCommitModifier*"/>
</instance-parameter>
<parameter name="repo" transfer-ownership="none">
<doc xml:space="preserve"
filename="ostree-repo-commit.c"
- line="4214">OSTree repo containing @rev</doc>
+ line="4334">OSTree repo containing @rev</doc>
<type name="Repo" c:type="OstreeRepo*"/>
</parameter>
<parameter name="rev" transfer-ownership="none">
<doc xml:space="preserve"
filename="ostree-repo-commit.c"
- line="4215">Find SELinux policy from this base commit</doc>
+ line="4335">Find SELinux policy from this base commit</doc>
<type name="utf8" c:type="const char*"/>
</parameter>
<parameter name="cancellable"
c:identifier="ostree_repo_commit_modifier_set_xattr_callback">
<doc xml:space="preserve"
filename="ostree-repo-commit.c"
- line="4166">If set, this function should return extended attributes to use for
+ line="4286">If set, this function should return extended attributes to use for
the given path. This is useful for things like ACLs and SELinux,
where a build system can label the files as it's committing to the
repository.</doc>
- <source-position filename="ostree-repo.h" line="686"/>
+ <source-position filename="ostree-repo.h" line="718"/>
<return-value transfer-ownership="none">
<type name="none" c:type="void"/>
</return-value>
<instance-parameter name="modifier" transfer-ownership="none">
<doc xml:space="preserve"
filename="ostree-repo-commit.c"
- line="4168">An #OstreeRepoCommitModifier</doc>
+ line="4288">An #OstreeRepoCommitModifier</doc>
<type name="RepoCommitModifier"
c:type="OstreeRepoCommitModifier*"/>
</instance-parameter>
destroy="1">
<doc xml:space="preserve"
filename="ostree-repo-commit.c"
- line="4169">Function to be invoked, should return extended attributes for path</doc>
+ line="4289">Function to be invoked, should return extended attributes for path</doc>
<type name="RepoCommitModifierXattrCallback"
c:type="OstreeRepoCommitModifierXattrCallback"/>
</parameter>
<parameter name="destroy" transfer-ownership="none" scope="async">
<doc xml:space="preserve"
filename="ostree-repo-commit.c"
- line="4170">Destroy notification</doc>
+ line="4290">Destroy notification</doc>
<type name="GLib.DestroyNotify" c:type="GDestroyNotify"/>
</parameter>
<parameter name="user_data"
allow-none="1">
<doc xml:space="preserve"
filename="ostree-repo-commit.c"
- line="4171">Data for @callback:</doc>
+ line="4291">Data for @callback:</doc>
<type name="gpointer" c:type="gpointer"/>
</parameter>
</parameters>
</method>
<method name="unref" c:identifier="ostree_repo_commit_modifier_unref">
- <source-position filename="ostree-repo.h" line="709"/>
+ <source-position filename="ostree-repo.h" line="741"/>
<return-value transfer-ownership="none">
<type name="none" c:type="void"/>
</return-value>
</record>
<bitfield name="RepoCommitModifierFlags"
c:type="OstreeRepoCommitModifierFlags">
- <source-position filename="ostree-repo.h" line="662"/>
+ <source-position filename="ostree-repo.h" line="694"/>
<member name="none"
value="0"
c:identifier="OSTREE_REPO_COMMIT_MODIFIER_FLAGS_NONE">
<doc xml:space="preserve"
filename="ostree-repo.h"
- line="646">No special flags</doc>
+ line="678">No special flags</doc>
</member>
<member name="skip_xattrs"
value="1"
c:identifier="OSTREE_REPO_COMMIT_MODIFIER_FLAGS_SKIP_XATTRS">
<doc xml:space="preserve"
filename="ostree-repo.h"
- line="647">Do not process extended attributes</doc>
+ line="679">Do not process extended attributes</doc>
</member>
<member name="generate_sizes"
value="2"
c:identifier="OSTREE_REPO_COMMIT_MODIFIER_FLAGS_GENERATE_SIZES">
<doc xml:space="preserve"
filename="ostree-repo.h"
- line="648">Generate size information.</doc>
+ line="680">Generate size information.</doc>
</member>
<member name="canonical_permissions"
value="4"
c:identifier="OSTREE_REPO_COMMIT_MODIFIER_FLAGS_CANONICAL_PERMISSIONS">
<doc xml:space="preserve"
filename="ostree-repo.h"
- line="649">Canonicalize permissions for bare-user-only mode.</doc>
+ line="681">Canonicalize permissions for bare-user-only mode.</doc>
</member>
<member name="error_on_unlabeled"
value="8"
c:identifier="OSTREE_REPO_COMMIT_MODIFIER_FLAGS_ERROR_ON_UNLABELED">
<doc xml:space="preserve"
filename="ostree-repo.h"
- line="650">Emit an error if configured SELinux policy does not provide a label</doc>
+ line="682">Emit an error if configured SELinux policy does not provide a label</doc>
</member>
<member name="consume"
value="16"
c:identifier="OSTREE_REPO_COMMIT_MODIFIER_FLAGS_CONSUME">
<doc xml:space="preserve"
filename="ostree-repo.h"
- line="651">Delete added files/directories after commit; Since: 2017.13</doc>
+ line="683">Delete added files/directories after commit; Since: 2017.13</doc>
</member>
<member name="devino_canonical"
value="32"
c:identifier="OSTREE_REPO_COMMIT_MODIFIER_FLAGS_DEVINO_CANONICAL">
<doc xml:space="preserve"
filename="ostree-repo.h"
- line="652">If a devino cache hit is found, skip modifier filters (non-directories only); Since: 2017.14</doc>
+ line="684">If a devino cache hit is found, skip modifier filters (non-directories only); Since: 2017.14</doc>
</member>
</bitfield>
<callback name="RepoCommitModifierXattrCallback"
c:type="OstreeRepoCommitModifierXattrCallback">
- <source-position filename="ostree-repo.h" line="680"/>
+ <source-position filename="ostree-repo.h" line="712"/>
<return-value transfer-ownership="full">
<type name="GLib.Variant" c:type="GVariant*"/>
</return-value>
</bitfield>
<bitfield name="RepoCommitTraverseFlags"
c:type="OstreeRepoCommitTraverseFlags">
- <source-position filename="ostree-repo.h" line="1160"/>
+ <source-position filename="ostree-repo.h" line="1192"/>
<member name="repo_commit_traverse_flag_none"
value="1"
c:identifier="OSTREE_REPO_COMMIT_TRAVERSE_FLAG_NONE">
</bitfield>
<record name="RepoCommitTraverseIter"
c:type="OstreeRepoCommitTraverseIter">
- <source-position filename="ostree-repo.h" line="1154"/>
+ <source-position filename="ostree-repo.h" line="1186"/>
<field name="initialized" writable="1">
<type name="gboolean" c:type="gboolean"/>
</field>
</field>
<method name="clear"
c:identifier="ostree_repo_commit_traverse_iter_clear">
- <source-position filename="ostree-repo.h" line="1202"/>
+ <source-position filename="ostree-repo.h" line="1234"/>
<return-value transfer-ownership="none">
<type name="none" c:type="void"/>
</return-value>
line="235">Return information on the current directory. This function may
only be called if %OSTREE_REPO_COMMIT_ITER_RESULT_DIR was returned
from ostree_repo_commit_traverse_iter_next().</doc>
- <source-position filename="ostree-repo.h" line="1196"/>
+ <source-position filename="ostree-repo.h" line="1228"/>
<return-value transfer-ownership="none">
<type name="none" c:type="void"/>
</return-value>
line="214">Return information on the current file. This function may only be
called if %OSTREE_REPO_COMMIT_ITER_RESULT_FILE was returned from
ostree_repo_commit_traverse_iter_next().</doc>
- <source-position filename="ostree-repo.h" line="1191"/>
+ <source-position filename="ostree-repo.h" line="1223"/>
<return-value transfer-ownership="none">
<type name="none" c:type="void"/>
</return-value>
<doc xml:space="preserve"
filename="ostree-repo-traverse.c"
line="42">Initialize (in place) an iterator over the root of a commit object.</doc>
- <source-position filename="ostree-repo.h" line="1164"/>
+ <source-position filename="ostree-repo.h" line="1196"/>
<return-value transfer-ownership="none">
<type name="gboolean" c:type="gboolean"/>
</return-value>
<doc xml:space="preserve"
filename="ostree-repo-traverse.c"
line="86">Initialize (in place) an iterator over a directory tree.</doc>
- <source-position filename="ostree-repo.h" line="1172"/>
+ <source-position filename="ostree-repo.h" line="1204"/>
<return-value transfer-ownership="none">
<type name="gboolean" c:type="gboolean"/>
</return-value>
If %OSTREE_REPO_COMMIT_ITER_RESULT_ERROR is returned, it is a
program error to call any further API on @iter except for
ostree_repo_commit_traverse_iter_clear().</doc>
- <source-position filename="ostree-repo.h" line="1186"/>
+ <source-position filename="ostree-repo.h" line="1218"/>
<return-value transfer-ownership="none">
<type name="RepoCommitIterResult"
c:type="OstreeRepoCommitIterResult"/>
</method>
<function name="cleanup"
c:identifier="ostree_repo_commit_traverse_iter_cleanup">
- <source-position filename="ostree-repo.h" line="1205"/>
+ <source-position filename="ostree-repo.h" line="1237"/>
<return-value transfer-ownership="none">
<type name="none" c:type="void"/>
</return-value>
files, use this function and fill in the `devino_to_csum_cache`
member of `OstreeRepoCheckoutAtOptions`, then call
ostree_repo_commit_set_devino_cache().</doc>
- <source-position filename="ostree-repo.h" line="976"/>
+ <source-position filename="ostree-repo.h" line="1008"/>
<return-value transfer-ownership="full">
<doc xml:space="preserve"
filename="ostree-repo-checkout.c"
</return-value>
</constructor>
<method name="ref" c:identifier="ostree_repo_devino_cache_ref">
- <source-position filename="ostree-repo.h" line="978"/>
+ <source-position filename="ostree-repo.h" line="1010"/>
<return-value transfer-ownership="full">
<type name="RepoDevInoCache" c:type="OstreeRepoDevInoCache*"/>
</return-value>
</parameters>
</method>
<method name="unref" c:identifier="ostree_repo_devino_cache_unref">
- <source-position filename="ostree-repo.h" line="980"/>
+ <source-position filename="ostree-repo.h" line="1012"/>
<return-value transfer-ownership="none">
<type name="none" c:type="void"/>
</return-value>
introspectable="0">
<doc xml:space="preserve"
filename="ostree-repo.h"
- line="802">An extensible options structure controlling archive creation. Ensure that
+ line="834">An extensible options structure controlling archive creation. Ensure that
you have entirely zeroed the structure, then set just the desired
options. This is used by ostree_repo_export_tree_to_archive().</doc>
- <source-position filename="ostree-repo.h" line="821"/>
+ <source-position filename="ostree-repo.h" line="853"/>
<field name="disable_xattrs" writable="1" bits="1">
<type name="guint" c:type="guint"/>
</field>
introspectable="0">
<doc xml:space="preserve"
filename="ostree-repo.h"
- line="773">An extensible options structure controlling archive import. Ensure that
+ line="805">An extensible options structure controlling archive import. Ensure that
you have entirely zeroed the structure, then set just the desired
options. This is used by ostree_repo_import_archive_to_mtree().</doc>
- <source-position filename="ostree-repo.h" line="791"/>
+ <source-position filename="ostree-repo.h" line="823"/>
<field name="ignore_unsupported_content" writable="1" bits="1">
<type name="guint" c:type="guint"/>
</field>
version="2017.11">
<doc xml:space="preserve"
filename="ostree-repo.h"
- line="748">Possibly change a pathname while importing an archive. If %NULL is returned,
+ line="780">Possibly change a pathname while importing an archive. If %NULL is returned,
then @src_path will be used unchanged. Otherwise, return a new pathname which
will be freed via `g_free()`.
Note that enabling pathname translation will always override the setting for
`use_ostree_convention`.</doc>
- <source-position filename="ostree-repo.h" line="768"/>
+ <source-position filename="ostree-repo.h" line="800"/>
<return-value transfer-ownership="full">
<type name="utf8" c:type="char*"/>
</return-value>
<parameter name="repo" transfer-ownership="none">
<doc xml:space="preserve"
filename="ostree-repo.h"
- line="750">Repo</doc>
+ line="782">Repo</doc>
<type name="Repo" c:type="OstreeRepo*"/>
</parameter>
<parameter name="stbuf"
allow-none="1">
<doc xml:space="preserve"
filename="ostree-repo.h"
- line="751">Stat buffer</doc>
+ line="783">Stat buffer</doc>
<type name="gpointer" c:type="const stat*"/>
</parameter>
<parameter name="src_path" transfer-ownership="none">
<doc xml:space="preserve"
filename="ostree-repo.h"
- line="752">Path in the archive</doc>
+ line="784">Path in the archive</doc>
<type name="utf8" c:type="const char*"/>
</parameter>
<parameter name="user_data"
closure="3">
<doc xml:space="preserve"
filename="ostree-repo.h"
- line="753">User data</doc>
+ line="785">User data</doc>
<type name="gpointer" c:type="gpointer"/>
</parameter>
</parameters>
</callback>
<bitfield name="RepoListObjectsFlags" c:type="OstreeRepoListObjectsFlags">
- <source-position filename="ostree-repo.h" line="1019"/>
+ <source-position filename="ostree-repo.h" line="1051"/>
<member name="loose"
value="1"
c:identifier="OSTREE_REPO_LIST_OBJECTS_LOOSE">
<doc xml:space="preserve"
filename="ostree-repo.h"
- line="1009">List only loose (plain file) objects</doc>
+ line="1041">List only loose (plain file) objects</doc>
</member>
<member name="packed"
value="2"
c:identifier="OSTREE_REPO_LIST_OBJECTS_PACKED">
<doc xml:space="preserve"
filename="ostree-repo.h"
- line="1010">List only packed (compacted into blobs) objects</doc>
+ line="1042">List only packed (compacted into blobs) objects</doc>
</member>
<member name="all" value="4" c:identifier="OSTREE_REPO_LIST_OBJECTS_ALL">
<doc xml:space="preserve"
filename="ostree-repo.h"
- line="1011">List all objects</doc>
+ line="1043">List all objects</doc>
</member>
<member name="no_parents"
value="8"
c:identifier="OSTREE_REPO_LIST_OBJECTS_NO_PARENTS">
<doc xml:space="preserve"
filename="ostree-repo.h"
- line="1012">Only list objects in this repo, not parents</doc>
+ line="1044">Only list objects in this repo, not parents</doc>
</member>
</bitfield>
<bitfield name="RepoListRefsExtFlags" c:type="OstreeRepoListRefsExtFlags">
- <source-position filename="ostree-repo.h" line="519"/>
+ <source-position filename="ostree-repo.h" line="551"/>
<member name="none"
value="0"
c:identifier="OSTREE_REPO_LIST_REFS_EXT_NONE">
<doc xml:space="preserve"
filename="ostree-repo.h"
- line="509">No flags.</doc>
+ line="541">No flags.</doc>
</member>
<member name="aliases"
value="1"
c:identifier="OSTREE_REPO_LIST_REFS_EXT_ALIASES">
<doc xml:space="preserve"
filename="ostree-repo.h"
- line="510">Only list aliases. Since: 2017.10</doc>
+ line="542">Only list aliases. Since: 2017.10</doc>
</member>
<member name="exclude_remotes"
value="2"
c:identifier="OSTREE_REPO_LIST_REFS_EXT_EXCLUDE_REMOTES">
<doc xml:space="preserve"
filename="ostree-repo.h"
- line="511">Exclude remote refs. Since: 2017.11</doc>
+ line="543">Exclude remote refs. Since: 2017.11</doc>
</member>
<member name="exclude_mirrors"
value="4"
c:identifier="OSTREE_REPO_LIST_REFS_EXT_EXCLUDE_MIRRORS">
<doc xml:space="preserve"
filename="ostree-repo.h"
- line="512">Exclude mirrored refs. Since: 2019.2</doc>
+ line="544">Exclude mirrored refs. Since: 2019.2</doc>
</member>
</bitfield>
<enumeration name="RepoMode" c:type="OstreeRepoMode">
</member>
</enumeration>
<bitfield name="RepoPruneFlags" c:type="OstreeRepoPruneFlags">
- <source-position filename="ostree-repo.h" line="1219"/>
+ <source-position filename="ostree-repo.h" line="1251"/>
<member name="none"
value="0"
c:identifier="OSTREE_REPO_PRUNE_FLAGS_NONE">
<doc xml:space="preserve"
filename="ostree-repo.h"
- line="1211">No special options for pruning</doc>
+ line="1243">No special options for pruning</doc>
</member>
<member name="no_prune"
value="1"
c:identifier="OSTREE_REPO_PRUNE_FLAGS_NO_PRUNE">
<doc xml:space="preserve"
filename="ostree-repo.h"
- line="1212">Don't actually delete objects</doc>
+ line="1244">Don't actually delete objects</doc>
</member>
<member name="refs_only"
value="2"
c:identifier="OSTREE_REPO_PRUNE_FLAGS_REFS_ONLY">
<doc xml:space="preserve"
filename="ostree-repo.h"
- line="1213">Do not traverse individual commit objects, only follow refs</doc>
+ line="1245">Do not traverse individual commit objects, only follow refs</doc>
</member>
</bitfield>
<record name="RepoPruneOptions" c:type="OstreeRepoPruneOptions">
- <source-position filename="ostree-repo.h" line="1247"/>
+ <source-position filename="ostree-repo.h" line="1279"/>
<field name="flags" writable="1">
<type name="RepoPruneFlags" c:type="OstreeRepoPruneFlags"/>
</field>
</field>
</record>
<bitfield name="RepoPullFlags" c:type="OstreeRepoPullFlags">
- <source-position filename="ostree-repo.h" line="1284"/>
+ <source-position filename="ostree-repo.h" line="1316"/>
<member name="none" value="0" c:identifier="OSTREE_REPO_PULL_FLAGS_NONE">
<doc xml:space="preserve"
filename="ostree-repo.h"
- line="1270">No special options for pull</doc>
+ line="1302">No special options for pull</doc>
</member>
<member name="mirror"
value="1"
c:identifier="OSTREE_REPO_PULL_FLAGS_MIRROR">
<doc xml:space="preserve"
filename="ostree-repo.h"
- line="1271">Write out refs suitable for mirrors and fetch all refs if none requested</doc>
+ line="1303">Write out refs suitable for mirrors and fetch all refs if none requested</doc>
</member>
<member name="commit_only"
value="2"
c:identifier="OSTREE_REPO_PULL_FLAGS_COMMIT_ONLY">
<doc xml:space="preserve"
filename="ostree-repo.h"
- line="1272">Fetch only the commit metadata</doc>
+ line="1304">Fetch only the commit metadata</doc>
</member>
<member name="untrusted"
value="4"
c:identifier="OSTREE_REPO_PULL_FLAGS_UNTRUSTED">
<doc xml:space="preserve"
filename="ostree-repo.h"
- line="1273">Do verify checksums of local (filesystem-accessible) repositories (defaults on for HTTP)</doc>
+ line="1305">Do verify checksums of local (filesystem-accessible) repositories (defaults on for HTTP)</doc>
</member>
<member name="bareuseronly_files"
value="8"
c:identifier="OSTREE_REPO_PULL_FLAGS_BAREUSERONLY_FILES">
<doc xml:space="preserve"
filename="ostree-repo.h"
- line="1274">Since 2017.7. Reject writes of content objects with modes outside of 0775.</doc>
+ line="1306">Since 2017.7. Reject writes of content objects with modes outside of 0775.</doc>
</member>
<member name="trusted_http"
value="16"
c:identifier="OSTREE_REPO_PULL_FLAGS_TRUSTED_HTTP">
<doc xml:space="preserve"
filename="ostree-repo.h"
- line="1275">Don't verify checksums of objects HTTP repositories (Since: 2017.12)</doc>
+ line="1307">Don't verify checksums of objects HTTP repositories (Since: 2017.12)</doc>
</member>
</bitfield>
<enumeration name="RepoRemoteChange" c:type="OstreeRepoRemoteChange">
</enumeration>
<bitfield name="RepoResolveRevExtFlags"
c:type="OstreeRepoResolveRevExtFlags">
- <source-position filename="ostree-repo.h" line="481"/>
+ <source-position filename="ostree-repo.h" line="513"/>
<member name="none"
value="0"
c:identifier="OSTREE_REPO_RESOLVE_REV_EXT_NONE">
<doc xml:space="preserve"
filename="ostree-repo.h"
- line="475">No flags.</doc>
+ line="507">No flags.</doc>
</member>
<member name="local_only"
value="1"
c:identifier="OSTREE_REPO_RESOLVE_REV_EXT_LOCAL_ONLY">
<doc xml:space="preserve"
filename="ostree-repo.h"
- line="476">Exclude remote and mirrored refs. Since: 2019.2</doc>
+ line="508">Exclude remote and mirrored refs. Since: 2019.2</doc>
</member>
</bitfield>
<record name="RepoTransactionStats"
c:type="OstreeStaticDeltaGenerateOpt">
<doc xml:space="preserve"
filename="ostree-repo.h"
- line="1055">Parameters controlling optimization of static deltas.</doc>
- <source-position filename="ostree-repo.h" line="1065"/>
+ line="1087">Parameters controlling optimization of static deltas.</doc>
+ <source-position filename="ostree-repo.h" line="1097"/>
<member name="lowlatency"
value="0"
c:identifier="OSTREE_STATIC_DELTA_GENERATE_OPT_LOWLATENCY">
<doc xml:space="preserve"
filename="ostree-repo.h"
- line="1057">Optimize for speed of delta creation over space</doc>
+ line="1089">Optimize for speed of delta creation over space</doc>
</member>
<member name="major"
value="1"
c:identifier="OSTREE_STATIC_DELTA_GENERATE_OPT_MAJOR">
<doc xml:space="preserve"
filename="ostree-repo.h"
- line="1058">Optimize for delta size (may be very slow)</doc>
+ line="1090">Optimize for delta size (may be very slow)</doc>
</member>
</enumeration>
<enumeration name="StaticDeltaIndexFlags"
c:type="OstreeStaticDeltaIndexFlags">
<doc xml:space="preserve"
filename="ostree-repo.h"
- line="1077">Flags controlling static delta index generation.</doc>
- <source-position filename="ostree-repo.h" line="1085"/>
+ line="1109">Flags controlling static delta index generation.</doc>
+ <source-position filename="ostree-repo.h" line="1117"/>
<member name="static_delta_index_flags_none"
value="0"
c:identifier="OSTREE_STATIC_DELTA_INDEX_FLAGS_NONE">
<doc xml:space="preserve"
filename="ostree-repo.h"
- line="1079">No special flags</doc>
+ line="1111">No special flags</doc>
</member>
</enumeration>
<class name="Sysroot"
<source-position filename="ostree-tls-cert-interaction.h" line="35"/>
</record>
<constant name="VERSION"
- value="2021.100000"
+ value="2021.200000"
c:type="OSTREE_VERSION"
version="2017.4">
<doc xml:space="preserve"
<type name="gdouble" c:type="gdouble"/>
</constant>
<constant name="VERSION_S"
- value="2021.1"
+ value="2021.2"
c:type="OSTREE_VERSION_S"
version="2017.4">
<doc xml:space="preserve"
throws="1">
<doc xml:space="preserve"
filename="ostree-core.c"
- line="805">In many cases using libostree, a program may need to "break"
+ line="782">In many cases using libostree, a program may need to "break"
hardlinks by performing a copy. For example, in order to
logically append to a file.
<parameter name="dfd" transfer-ownership="none">
<doc xml:space="preserve"
filename="ostree-core.c"
- line="807">Directory fd</doc>
+ line="784">Directory fd</doc>
<type name="gint" c:type="int"/>
</parameter>
<parameter name="path" transfer-ownership="none">
<doc xml:space="preserve"
filename="ostree-core.c"
- line="808">Path relative to @dfd</doc>
+ line="785">Path relative to @dfd</doc>
<type name="utf8" c:type="const char*"/>
</parameter>
<parameter name="skip_xattrs" transfer-ownership="none">
<doc xml:space="preserve"
filename="ostree-core.c"
- line="809">Do not copy extended attributes</doc>
+ line="786">Do not copy extended attributes</doc>
<type name="gboolean" c:type="gboolean"/>
</parameter>
<parameter name="cancellable"
<return-value transfer-ownership="none">
<doc xml:space="preserve"
filename="ostree-core.c"
- line="2734">%TRUE if current libostree has at least the requested version, %FALSE otherwise</doc>
+ line="2711">%TRUE if current libostree has at least the requested version, %FALSE otherwise</doc>
<type name="gboolean" c:type="gboolean"/>
</return-value>
<parameters>
<parameter name="required_year" transfer-ownership="none">
<doc xml:space="preserve"
filename="ostree-core.c"
- line="2731">Major/year required</doc>
+ line="2708">Major/year required</doc>
<type name="guint" c:type="guint"/>
</parameter>
<parameter name="required_release" transfer-ownership="none">
<doc xml:space="preserve"
filename="ostree-core.c"
- line="2732">Release version required</doc>
+ line="2709">Release version required</doc>
<type name="guint" c:type="guint"/>
</parameter>
</parameters>
<return-value transfer-ownership="full">
<doc xml:space="preserve"
filename="ostree-core.c"
- line="1575">Modified base64 encoding of @csum
+ line="1552">Modified base64 encoding of @csum
The "modified" term refers to the fact that instead of '/', the '_'
character is used.</doc>
<parameter name="csum" transfer-ownership="none">
<doc xml:space="preserve"
filename="ostree-core.c"
- line="1573">An binary checksum of length 32</doc>
+ line="1550">An binary checksum of length 32</doc>
<array zero-terminated="0" c:type="const guchar*" fixed-size="32">
<type name="guint8" c:type="guchar"/>
</array>
introspectable="0">
<doc xml:space="preserve"
filename="ostree-core.c"
- line="1503">Overwrite the contents of @buf with modified base64 encoding of @csum.
+ line="1480">Overwrite the contents of @buf with modified base64 encoding of @csum.
The "modified" term refers to the fact that instead of '/', the '_'
character is used.</doc>
<source-position filename="ostree-core.h" line="319"/>
<parameter name="csum" transfer-ownership="none">
<doc xml:space="preserve"
filename="ostree-core.c"
- line="1505">An binary checksum of length 32</doc>
+ line="1482">An binary checksum of length 32</doc>
<array zero-terminated="0" c:type="const guchar*" fixed-size="32">
<type name="guint8" c:type="guchar"/>
</array>
<parameter name="buf" transfer-ownership="none">
<doc xml:space="preserve"
filename="ostree-core.c"
- line="1506">Output location, must be at least 44 bytes in length</doc>
+ line="1483">Output location, must be at least 44 bytes in length</doc>
<type name="utf8" c:type="char*"/>
</parameter>
</parameters>
introspectable="0">
<doc xml:space="preserve"
filename="ostree-core.c"
- line="1384">Overwrite the contents of @buf with stringified version of @csum.</doc>
+ line="1361">Overwrite the contents of @buf with stringified version of @csum.</doc>
<source-position filename="ostree-core.h" line="305"/>
<return-value transfer-ownership="none">
<type name="none" c:type="void"/>
<parameter name="checksum" transfer-ownership="none">
<doc xml:space="preserve"
filename="ostree-core.c"
- line="1386">An binary checksum of length 32</doc>
+ line="1363">An binary checksum of length 32</doc>
<array zero-terminated="0" c:type="const char*" fixed-size="32">
<type name="utf8" c:type="char"/>
</array>
<parameter name="buf" transfer-ownership="none">
<doc xml:space="preserve"
filename="ostree-core.c"
- line="1387">Output location, must be at least 45 bytes in length</doc>
+ line="1364">Output location, must be at least 45 bytes in length</doc>
<type name="guint8" c:type="guint8*"/>
</parameter>
</parameters>
<return-value transfer-ownership="full">
<doc xml:space="preserve"
filename="ostree-core.c"
- line="1477">Binary version of @checksum.</doc>
+ line="1454">Binary version of @checksum.</doc>
<array zero-terminated="0" c:type="guchar*" fixed-size="32">
<type name="guint8" c:type="guchar"/>
</array>
<parameter name="checksum" transfer-ownership="none">
<doc xml:space="preserve"
filename="ostree-core.c"
- line="1475">An ASCII checksum</doc>
+ line="1452">An ASCII checksum</doc>
<type name="utf8" c:type="const char*"/>
</parameter>
</parameters>
<return-value transfer-ownership="none">
<doc xml:space="preserve"
filename="ostree-core.c"
- line="1594">Binary checksum data in @bytes; do not free. If @bytes does not have the correct length, return %NULL.</doc>
+ line="1571">Binary checksum data in @bytes; do not free. If @bytes does not have the correct length, return %NULL.</doc>
<array zero-terminated="0" c:type="const guchar*" fixed-size="32">
<type name="guint8"/>
</array>
<parameter name="bytes" transfer-ownership="none">
<doc xml:space="preserve"
filename="ostree-core.c"
- line="1592">#GVariant of type ay</doc>
+ line="1569">#GVariant of type ay</doc>
<type name="GLib.Variant" c:type="GVariant*"/>
</parameter>
</parameters>
throws="1">
<doc xml:space="preserve"
filename="ostree-core.c"
- line="1607">Like ostree_checksum_bytes_peek(), but also throws @error.</doc>
+ line="1584">Like ostree_checksum_bytes_peek(), but also throws @error.</doc>
<source-position filename="ostree-core.h" line="330"/>
<return-value transfer-ownership="none">
<doc xml:space="preserve"
filename="ostree-core.c"
- line="1614">Binary checksum data</doc>
+ line="1591">Binary checksum data</doc>
<array zero-terminated="0" c:type="const guchar*" fixed-size="32">
<type name="guint8"/>
</array>
<parameter name="bytes" transfer-ownership="none">
<doc xml:space="preserve"
filename="ostree-core.c"
- line="1609">#GVariant of type ay</doc>
+ line="1586">#GVariant of type ay</doc>
<type name="GLib.Variant" c:type="GVariant*"/>
</parameter>
</parameters>
throws="1">
<doc xml:space="preserve"
filename="ostree-core.c"
- line="916">Compute the OSTree checksum for a given file.</doc>
+ line="893">Compute the OSTree checksum for a given file.</doc>
<source-position filename="ostree-core.h" line="448"/>
<return-value transfer-ownership="none">
<type name="gboolean" c:type="gboolean"/>
<parameter name="f" transfer-ownership="none">
<doc xml:space="preserve"
filename="ostree-core.c"
- line="918">File path</doc>
+ line="895">File path</doc>
<type name="Gio.File" c:type="GFile*"/>
</parameter>
<parameter name="objtype" transfer-ownership="none">
<doc xml:space="preserve"
filename="ostree-core.c"
- line="919">Object type</doc>
+ line="896">Object type</doc>
<type name="ObjectType" c:type="OstreeObjectType"/>
</parameter>
<parameter name="out_csum"
transfer-ownership="full">
<doc xml:space="preserve"
filename="ostree-core.c"
- line="920">Return location for binary checksum</doc>
+ line="897">Return location for binary checksum</doc>
<array zero-terminated="0" c:type="guchar**" fixed-size="32">
<type name="guint8" c:type="guchar*"/>
</array>
allow-none="1">
<doc xml:space="preserve"
filename="ostree-core.c"
- line="921">Cancellable</doc>
+ line="898">Cancellable</doc>
<type name="Gio.Cancellable" c:type="GCancellable*"/>
</parameter>
</parameters>
c:identifier="ostree_checksum_file_async">
<doc xml:space="preserve"
filename="ostree-core.c"
- line="1075">Asynchronously compute the OSTree checksum for a given file;
+ line="1052">Asynchronously compute the OSTree checksum for a given file;
complete with ostree_checksum_file_async_finish().</doc>
<source-position filename="ostree-core.h" line="482"/>
<return-value transfer-ownership="none">
<parameter name="f" transfer-ownership="none">
<doc xml:space="preserve"
filename="ostree-core.c"
- line="1077">File path</doc>
+ line="1054">File path</doc>
<type name="Gio.File" c:type="GFile*"/>
</parameter>
<parameter name="objtype" transfer-ownership="none">
<doc xml:space="preserve"
filename="ostree-core.c"
- line="1078">Object type</doc>
+ line="1055">Object type</doc>
<type name="ObjectType" c:type="OstreeObjectType"/>
</parameter>
<parameter name="io_priority" transfer-ownership="none">
<doc xml:space="preserve"
filename="ostree-core.c"
- line="1079">Priority for operation, see %G_IO_PRIORITY_DEFAULT</doc>
+ line="1056">Priority for operation, see %G_IO_PRIORITY_DEFAULT</doc>
<type name="gint" c:type="int"/>
</parameter>
<parameter name="cancellable"
allow-none="1">
<doc xml:space="preserve"
filename="ostree-core.c"
- line="1080">Cancellable</doc>
+ line="1057">Cancellable</doc>
<type name="Gio.Cancellable" c:type="GCancellable*"/>
</parameter>
<parameter name="callback"
closure="5">
<doc xml:space="preserve"
filename="ostree-core.c"
- line="1081">Invoked when operation is complete</doc>
+ line="1058">Invoked when operation is complete</doc>
<type name="Gio.AsyncReadyCallback" c:type="GAsyncReadyCallback"/>
</parameter>
<parameter name="user_data"
allow-none="1">
<doc xml:space="preserve"
filename="ostree-core.c"
- line="1082">Data for @callback</doc>
+ line="1059">Data for @callback</doc>
<type name="gpointer" c:type="gpointer"/>
</parameter>
</parameters>
throws="1">
<doc xml:space="preserve"
filename="ostree-core.c"
- line="1109">Finish computing the OSTree checksum for a given file; see
+ line="1086">Finish computing the OSTree checksum for a given file; see
ostree_checksum_file_async().</doc>
<source-position filename="ostree-core.h" line="490"/>
<return-value transfer-ownership="none">
<parameter name="f" transfer-ownership="none">
<doc xml:space="preserve"
filename="ostree-core.c"
- line="1111">File path</doc>
+ line="1088">File path</doc>
<type name="Gio.File" c:type="GFile*"/>
</parameter>
<parameter name="result" transfer-ownership="none">
<doc xml:space="preserve"
filename="ostree-core.c"
- line="1112">Async result</doc>
+ line="1089">Async result</doc>
<type name="Gio.AsyncResult" c:type="GAsyncResult*"/>
</parameter>
<parameter name="out_csum"
transfer-ownership="full">
<doc xml:space="preserve"
filename="ostree-core.c"
- line="1113">Return location for binary checksum</doc>
+ line="1090">Return location for binary checksum</doc>
<array zero-terminated="0" c:type="guchar**" fixed-size="32">
<type name="guint8" c:type="guchar*"/>
</array>
throws="1">
<doc xml:space="preserve"
filename="ostree-core.c"
- line="968">Compute the OSTree checksum for a given file. This is an fd-relative version
+ line="945">Compute the OSTree checksum for a given file. This is an fd-relative version
of ostree_checksum_file() which also takes flags and fills in a caller
allocated buffer.</doc>
<source-position filename="ostree-core.h" line="472"/>
<parameter name="dfd" transfer-ownership="none">
<doc xml:space="preserve"
filename="ostree-core.c"
- line="970">Directory file descriptor</doc>
+ line="947">Directory file descriptor</doc>
<type name="gint" c:type="int"/>
</parameter>
<parameter name="path" transfer-ownership="none">
<doc xml:space="preserve"
filename="ostree-core.c"
- line="971">Subpath
+ line="948">Subpath
@stbuf (allow-none): Optional stat buffer</doc>
<type name="utf8" c:type="const char*"/>
</parameter>
<parameter name="objtype" transfer-ownership="none">
<doc xml:space="preserve"
filename="ostree-core.c"
- line="973">Object type</doc>
+ line="950">Object type</doc>
<type name="ObjectType" c:type="OstreeObjectType"/>
</parameter>
<parameter name="flags" transfer-ownership="none">
<doc xml:space="preserve"
filename="ostree-core.c"
- line="974">Flags
+ line="951">Flags
@out_checksum (out) (transfer full): Return location for hex checksum</doc>
<type name="ChecksumFlags" c:type="OstreeChecksumFlags"/>
</parameter>
allow-none="1">
<doc xml:space="preserve"
filename="ostree-core.c"
- line="976">Cancellable</doc>
+ line="953">Cancellable</doc>
<type name="Gio.Cancellable" c:type="GCancellable*"/>
</parameter>
</parameters>
throws="1">
<doc xml:space="preserve"
filename="ostree-core.c"
- line="862">Compute the OSTree checksum for a given input.</doc>
+ line="839">Compute the OSTree checksum for a given input.</doc>
<source-position filename="ostree-core.h" line="439"/>
<return-value transfer-ownership="none">
<type name="gboolean" c:type="gboolean"/>
<parameter name="file_info" transfer-ownership="none">
<doc xml:space="preserve"
filename="ostree-core.c"
- line="864">File information</doc>
+ line="841">File information</doc>
<type name="Gio.FileInfo" c:type="GFileInfo*"/>
</parameter>
<parameter name="xattrs"
allow-none="1">
<doc xml:space="preserve"
filename="ostree-core.c"
- line="865">Optional extended attributes</doc>
+ line="842">Optional extended attributes</doc>
<type name="GLib.Variant" c:type="GVariant*"/>
</parameter>
<parameter name="in"
allow-none="1">
<doc xml:space="preserve"
filename="ostree-core.c"
- line="866">File content, should be %NULL for symbolic links</doc>
+ line="843">File content, should be %NULL for symbolic links</doc>
<type name="Gio.InputStream" c:type="GInputStream*"/>
</parameter>
<parameter name="objtype" transfer-ownership="none">
<doc xml:space="preserve"
filename="ostree-core.c"
- line="867">Object type</doc>
+ line="844">Object type</doc>
<type name="ObjectType" c:type="OstreeObjectType"/>
</parameter>
<parameter name="out_csum"
transfer-ownership="full">
<doc xml:space="preserve"
filename="ostree-core.c"
- line="868">Return location for binary checksum</doc>
+ line="845">Return location for binary checksum</doc>
<array zero-terminated="0" c:type="guchar**" fixed-size="32">
<type name="guint8" c:type="guchar*"/>
</array>
allow-none="1">
<doc xml:space="preserve"
filename="ostree-core.c"
- line="869">Cancellable</doc>
+ line="846">Cancellable</doc>
<type name="Gio.Cancellable" c:type="GCancellable*"/>
</parameter>
</parameters>
<return-value transfer-ownership="full">
<doc xml:space="preserve"
filename="ostree-core.c"
- line="1549">String form of @csum</doc>
+ line="1526">String form of @csum</doc>
<type name="utf8" c:type="char*"/>
</return-value>
<parameters>
<parameter name="csum" transfer-ownership="none">
<doc xml:space="preserve"
filename="ostree-core.c"
- line="1547">An binary checksum of length 32</doc>
+ line="1524">An binary checksum of length 32</doc>
<array zero-terminated="0" c:type="const guchar*" fixed-size="32">
<type name="guint8" c:type="guchar"/>
</array>
<return-value transfer-ownership="full">
<doc xml:space="preserve"
filename="ostree-core.c"
- line="1563">String form of @csum_bytes</doc>
+ line="1540">String form of @csum_bytes</doc>
<type name="utf8" c:type="char*"/>
</return-value>
<parameters>
<parameter name="csum_v" transfer-ownership="none">
<doc xml:space="preserve"
filename="ostree-core.c"
- line="1561">#GVariant of type ay</doc>
+ line="1538">#GVariant of type ay</doc>
<type name="GLib.Variant" c:type="GVariant*"/>
</parameter>
</parameters>
introspectable="0">
<doc xml:space="preserve"
filename="ostree-core.c"
- line="1489">Overwrite the contents of @buf with stringified version of @csum.</doc>
+ line="1466">Overwrite the contents of @buf with stringified version of @csum.</doc>
<source-position filename="ostree-core.h" line="316"/>
<return-value transfer-ownership="none">
<type name="none" c:type="void"/>
<parameter name="csum" transfer-ownership="none">
<doc xml:space="preserve"
filename="ostree-core.c"
- line="1491">An binary checksum of length 32</doc>
+ line="1468">An binary checksum of length 32</doc>
<array zero-terminated="0" c:type="const guchar*" fixed-size="32">
<type name="guint8" c:type="guchar"/>
</array>
<parameter name="buf" transfer-ownership="none">
<doc xml:space="preserve"
filename="ostree-core.c"
- line="1492">Output location, must be at least OSTREE_SHA256_STRING_LEN+1 bytes in length</doc>
+ line="1469">Output location, must be at least OSTREE_SHA256_STRING_LEN+1 bytes in length</doc>
<type name="utf8" c:type="char*"/>
</parameter>
</parameters>
c:identifier="ostree_checksum_inplace_to_bytes">
<doc xml:space="preserve"
filename="ostree-core.c"
- line="1413">Convert @checksum from a string to binary in-place, without
+ line="1390">Convert @checksum from a string to binary in-place, without
allocating memory. Use this function in hot code paths.</doc>
<source-position filename="ostree-core.h" line="323"/>
<return-value transfer-ownership="none">
<parameter name="checksum" transfer-ownership="none">
<doc xml:space="preserve"
filename="ostree-core.c"
- line="1415">a SHA256 string</doc>
+ line="1392">a SHA256 string</doc>
<type name="utf8" c:type="const char*"/>
</parameter>
<parameter name="buf" transfer-ownership="none">
<doc xml:space="preserve"
filename="ostree-core.c"
- line="1416">Output buffer with at least 32 bytes of space</doc>
+ line="1393">Output buffer with at least 32 bytes of space</doc>
<type name="guint8" c:type="guchar*"/>
</parameter>
</parameters>
<return-value transfer-ownership="full">
<doc xml:space="preserve"
filename="ostree-core.c"
- line="1449">Binary checksum from @checksum of length 32; free with g_free().</doc>
+ line="1426">Binary checksum from @checksum of length 32; free with g_free().</doc>
<array zero-terminated="0" c:type="guchar*" fixed-size="32">
<type name="guint8" c:type="guchar"/>
</array>
<parameter name="checksum" transfer-ownership="none">
<doc xml:space="preserve"
filename="ostree-core.c"
- line="1447">An ASCII checksum</doc>
+ line="1424">An ASCII checksum</doc>
<type name="utf8" c:type="const char*"/>
</parameter>
</parameters>
<return-value transfer-ownership="full">
<doc xml:space="preserve"
filename="ostree-core.c"
- line="1463">New #GVariant of type ay with length 32</doc>
+ line="1440">New #GVariant of type ay with length 32</doc>
<type name="GLib.Variant" c:type="GVariant*"/>
</return-value>
<parameters>
<parameter name="checksum" transfer-ownership="none">
<doc xml:space="preserve"
filename="ostree-core.c"
- line="1461">An ASCII checksum</doc>
+ line="1438">An ASCII checksum</doc>
<type name="utf8" c:type="const char*"/>
</parameter>
</parameters>
c:identifier="ostree_cmp_checksum_bytes">
<doc xml:space="preserve"
filename="ostree-core.c"
- line="1335">Compare two binary checksums, using memcmp().</doc>
+ line="1312">Compare two binary checksums, using memcmp().</doc>
<source-position filename="ostree-core.h" line="333"/>
<return-value transfer-ownership="none">
<type name="gint" c:type="int"/>
<parameter name="a" transfer-ownership="none">
<doc xml:space="preserve"
filename="ostree-core.c"
- line="1337">A binary checksum</doc>
+ line="1314">A binary checksum</doc>
<type name="guint8" c:type="const guchar*"/>
</parameter>
<parameter name="b" transfer-ownership="none">
<doc xml:space="preserve"
filename="ostree-core.c"
- line="1338">A binary checksum</doc>
+ line="1315">A binary checksum</doc>
<type name="guint8" c:type="const guchar*"/>
</parameter>
</parameters>
version="2018.2">
<doc xml:space="preserve"
filename="ostree-core.c"
- line="2415">There are use cases where one wants a checksum just of the content of a
+ line="2392">There are use cases where one wants a checksum just of the content of a
commit. OSTree commits by default capture the current timestamp, and may have
additional metadata, which means that re-committing identical content
often results in a new checksum.
<return-value transfer-ownership="full" nullable="1">
<doc xml:space="preserve"
filename="ostree-core.c"
- line="2431">A SHA-256 hex string, or %NULL if @commit_variant is not well-formed</doc>
+ line="2408">A SHA-256 hex string, or %NULL if @commit_variant is not well-formed</doc>
<type name="utf8" c:type="gchar*"/>
</return-value>
<parameters>
<parameter name="commit_variant" transfer-ownership="none">
<doc xml:space="preserve"
filename="ostree-core.c"
- line="2417">A commit object</doc>
+ line="2394">A commit object</doc>
<type name="GLib.Variant" c:type="GVariant*"/>
</parameter>
</parameters>
throws="1">
<doc xml:space="preserve"
filename="ostree-core.c"
- line="2589">Reads a commit's "ostree.sizes" metadata and returns an array of
+ line="2566">Reads a commit's "ostree.sizes" metadata and returns an array of
#OstreeCommitSizesEntry in @out_sizes_entries. Each element
represents an object in the commit. If the commit does not contain
the "ostree.sizes" metadata, a %G_IO_ERROR_NOT_FOUND error will be
<parameter name="commit_variant" transfer-ownership="none">
<doc xml:space="preserve"
filename="ostree-core.c"
- line="2591">variant of type %OSTREE_OBJECT_TYPE_COMMIT</doc>
+ line="2568">variant of type %OSTREE_OBJECT_TYPE_COMMIT</doc>
<type name="GLib.Variant" c:type="GVariant*"/>
</parameter>
<parameter name="out_sizes_entries"
allow-none="1">
<doc xml:space="preserve"
filename="ostree-core.c"
- line="2592">
+ line="2569">
return location for an array of object size entries</doc>
<array name="GLib.PtrArray" c:type="GPtrArray**">
<type name="CommitSizesEntry"/>
<return-value transfer-ownership="full">
<doc xml:space="preserve"
filename="ostree-core.c"
- line="2386">Checksum of the parent commit of @commit_variant, or %NULL
+ line="2363">Checksum of the parent commit of @commit_variant, or %NULL
if none</doc>
<type name="utf8" c:type="gchar*"/>
</return-value>
<parameter name="commit_variant" transfer-ownership="none">
<doc xml:space="preserve"
filename="ostree-core.c"
- line="2384">Variant of type %OSTREE_OBJECT_TYPE_COMMIT</doc>
+ line="2361">Variant of type %OSTREE_OBJECT_TYPE_COMMIT</doc>
<type name="GLib.Variant" c:type="GVariant*"/>
</parameter>
</parameters>
<return-value transfer-ownership="none">
<doc xml:space="preserve"
filename="ostree-core.c"
- line="2403">timestamp in seconds since the Unix epoch, UTC</doc>
+ line="2380">timestamp in seconds since the Unix epoch, UTC</doc>
<type name="guint64" c:type="guint64"/>
</return-value>
<parameters>
<parameter name="commit_variant" transfer-ownership="none">
<doc xml:space="preserve"
filename="ostree-core.c"
- line="2401">Commit object</doc>
+ line="2378">Commit object</doc>
<type name="GLib.Variant" c:type="GVariant*"/>
</parameter>
</parameters>
throws="1">
<doc xml:space="preserve"
filename="ostree-core.c"
- line="730">A thin wrapper for ostree_content_stream_parse(); this function
+ line="707">A thin wrapper for ostree_content_stream_parse(); this function
converts an object content stream back into components.</doc>
<source-position filename="ostree-core.h" line="390"/>
<return-value transfer-ownership="none">
<parameter name="compressed" transfer-ownership="none">
<doc xml:space="preserve"
filename="ostree-core.c"
- line="732">Whether or not the stream is zlib-compressed</doc>
+ line="709">Whether or not the stream is zlib-compressed</doc>
<type name="gboolean" c:type="gboolean"/>
</parameter>
<parameter name="content_path" transfer-ownership="none">
<doc xml:space="preserve"
filename="ostree-core.c"
- line="733">Path to file containing content</doc>
+ line="710">Path to file containing content</doc>
<type name="Gio.File" c:type="GFile*"/>
</parameter>
<parameter name="trusted" transfer-ownership="none">
<doc xml:space="preserve"
filename="ostree-core.c"
- line="734">If %TRUE, assume the content has been validated</doc>
+ line="711">If %TRUE, assume the content has been validated</doc>
<type name="gboolean" c:type="gboolean"/>
</parameter>
<parameter name="out_input"
transfer-ownership="full">
<doc xml:space="preserve"
filename="ostree-core.c"
- line="735">The raw file content stream</doc>
+ line="712">The raw file content stream</doc>
<type name="Gio.InputStream" c:type="GInputStream**"/>
</parameter>
<parameter name="out_file_info"
transfer-ownership="full">
<doc xml:space="preserve"
filename="ostree-core.c"
- line="736">Normal metadata</doc>
+ line="713">Normal metadata</doc>
<type name="Gio.FileInfo" c:type="GFileInfo**"/>
</parameter>
<parameter name="out_xattrs"
transfer-ownership="full">
<doc xml:space="preserve"
filename="ostree-core.c"
- line="737">Extended attributes</doc>
+ line="714">Extended attributes</doc>
<type name="GLib.Variant" c:type="GVariant**"/>
</parameter>
<parameter name="cancellable"
allow-none="1">
<doc xml:space="preserve"
filename="ostree-core.c"
- line="738">Cancellable</doc>
+ line="715">Cancellable</doc>
<type name="Gio.Cancellable" c:type="GCancellable*"/>
</parameter>
</parameters>
throws="1">
<doc xml:space="preserve"
filename="ostree-core.c"
- line="679">A thin wrapper for ostree_content_stream_parse(); this function
+ line="656">A thin wrapper for ostree_content_stream_parse(); this function
converts an object content stream back into components.</doc>
<source-position filename="ostree-core.h" line="400"/>
<return-value transfer-ownership="none">
<parameter name="compressed" transfer-ownership="none">
<doc xml:space="preserve"
filename="ostree-core.c"
- line="681">Whether or not the stream is zlib-compressed</doc>
+ line="658">Whether or not the stream is zlib-compressed</doc>
<type name="gboolean" c:type="gboolean"/>
</parameter>
<parameter name="parent_dfd" transfer-ownership="none">
<doc xml:space="preserve"
filename="ostree-core.c"
- line="682">Directory file descriptor</doc>
+ line="659">Directory file descriptor</doc>
<type name="gint" c:type="int"/>
</parameter>
<parameter name="path" transfer-ownership="none">
<doc xml:space="preserve"
filename="ostree-core.c"
- line="683">Subpath</doc>
+ line="660">Subpath</doc>
<type name="utf8" c:type="const char*"/>
</parameter>
<parameter name="trusted" transfer-ownership="none">
<doc xml:space="preserve"
filename="ostree-core.c"
- line="684">If %TRUE, assume the content has been validated</doc>
+ line="661">If %TRUE, assume the content has been validated</doc>
<type name="gboolean" c:type="gboolean"/>
</parameter>
<parameter name="out_input"
transfer-ownership="full">
<doc xml:space="preserve"
filename="ostree-core.c"
- line="685">The raw file content stream</doc>
+ line="662">The raw file content stream</doc>
<type name="Gio.InputStream" c:type="GInputStream**"/>
</parameter>
<parameter name="out_file_info"
transfer-ownership="full">
<doc xml:space="preserve"
filename="ostree-core.c"
- line="686">Normal metadata</doc>
+ line="663">Normal metadata</doc>
<type name="Gio.FileInfo" c:type="GFileInfo**"/>
</parameter>
<parameter name="out_xattrs"
transfer-ownership="full">
<doc xml:space="preserve"
filename="ostree-core.c"
- line="687">Extended attributes</doc>
+ line="664">Extended attributes</doc>
<type name="GLib.Variant" c:type="GVariant**"/>
</parameter>
<parameter name="cancellable"
allow-none="1">
<doc xml:space="preserve"
filename="ostree-core.c"
- line="688">Cancellable</doc>
+ line="665">Cancellable</doc>
<type name="Gio.Cancellable" c:type="GCancellable*"/>
</parameter>
</parameters>
throws="1">
<doc xml:space="preserve"
filename="ostree-core.c"
- line="580">The reverse of ostree_raw_file_to_content_stream(); this function
+ line="557">The reverse of ostree_raw_file_to_content_stream(); this function
converts an object content stream back into components.</doc>
<source-position filename="ostree-core.h" line="379"/>
<return-value transfer-ownership="none">
<parameter name="compressed" transfer-ownership="none">
<doc xml:space="preserve"
filename="ostree-core.c"
- line="582">Whether or not the stream is zlib-compressed</doc>
+ line="559">Whether or not the stream is zlib-compressed</doc>
<type name="gboolean" c:type="gboolean"/>
</parameter>
<parameter name="input" transfer-ownership="none">
<doc xml:space="preserve"
filename="ostree-core.c"
- line="583">Object content stream</doc>
+ line="560">Object content stream</doc>
<type name="Gio.InputStream" c:type="GInputStream*"/>
</parameter>
<parameter name="input_length" transfer-ownership="none">
<doc xml:space="preserve"
filename="ostree-core.c"
- line="584">Length of stream</doc>
+ line="561">Length of stream</doc>
<type name="guint64" c:type="guint64"/>
</parameter>
<parameter name="trusted" transfer-ownership="none">
<doc xml:space="preserve"
filename="ostree-core.c"
- line="585">If %TRUE, assume the content has been validated</doc>
+ line="562">If %TRUE, assume the content has been validated</doc>
<type name="gboolean" c:type="gboolean"/>
</parameter>
<parameter name="out_input"
transfer-ownership="full">
<doc xml:space="preserve"
filename="ostree-core.c"
- line="586">The raw file content stream</doc>
+ line="563">The raw file content stream</doc>
<type name="Gio.InputStream" c:type="GInputStream**"/>
</parameter>
<parameter name="out_file_info"
transfer-ownership="full">
<doc xml:space="preserve"
filename="ostree-core.c"
- line="587">Normal metadata</doc>
+ line="564">Normal metadata</doc>
<type name="Gio.FileInfo" c:type="GFileInfo**"/>
</parameter>
<parameter name="out_xattrs"
transfer-ownership="full">
<doc xml:space="preserve"
filename="ostree-core.c"
- line="588">Extended attributes</doc>
+ line="565">Extended attributes</doc>
<type name="GLib.Variant" c:type="GVariant**"/>
</parameter>
<parameter name="cancellable"
allow-none="1">
<doc xml:space="preserve"
filename="ostree-core.c"
- line="589">Cancellable</doc>
+ line="566">Cancellable</doc>
<type name="Gio.Cancellable" c:type="GCancellable*"/>
</parameter>
</parameters>
<return-value transfer-ownership="full">
<doc xml:space="preserve"
filename="ostree-core.c"
- line="1161">A new #GVariant containing %OSTREE_OBJECT_TYPE_DIR_META</doc>
+ line="1138">A new #GVariant containing %OSTREE_OBJECT_TYPE_DIR_META</doc>
<type name="GLib.Variant" c:type="GVariant*"/>
</return-value>
<parameters>
<parameter name="dir_info" transfer-ownership="none">
<doc xml:space="preserve"
filename="ostree-core.c"
- line="1158">a #GFileInfo containing directory information</doc>
+ line="1135">a #GFileInfo containing directory information</doc>
<type name="Gio.FileInfo" c:type="GFileInfo*"/>
</parameter>
<parameter name="xattrs"
allow-none="1">
<doc xml:space="preserve"
filename="ostree-core.c"
- line="1159">Optional extended attributes</doc>
+ line="1136">Optional extended attributes</doc>
<type name="GLib.Variant" c:type="GVariant*"/>
</parameter>
</parameters>
<function name="hash_object_name" c:identifier="ostree_hash_object_name">
<doc xml:space="preserve"
filename="ostree-core.c"
- line="1316">Use this function with #GHashTable and ostree_object_name_serialize().</doc>
+ line="1293">Use this function with #GHashTable and ostree_object_name_serialize().</doc>
<source-position filename="ostree-core.h" line="357"/>
<return-value transfer-ownership="none">
<type name="guint" c:type="guint"/>
allow-none="1">
<doc xml:space="preserve"
filename="ostree-core.c"
- line="1318">A #GVariant containing a serialized object</doc>
+ line="1295">A #GVariant containing a serialized object</doc>
<type name="gpointer" c:type="gconstpointer"/>
</parameter>
</parameters>
c:identifier="ostree_object_from_string">
<doc xml:space="preserve"
filename="ostree-core.c"
- line="1295">Reverse ostree_object_to_string().</doc>
+ line="1272">Reverse ostree_object_to_string().</doc>
<source-position filename="ostree-core.h" line="373"/>
<return-value transfer-ownership="none">
<type name="none" c:type="void"/>
<parameter name="str" transfer-ownership="none">
<doc xml:space="preserve"
filename="ostree-core.c"
- line="1297">An ASCII checksum</doc>
+ line="1274">An ASCII checksum</doc>
<type name="utf8" c:type="const char*"/>
</parameter>
<parameter name="out_checksum"
transfer-ownership="full">
<doc xml:space="preserve"
filename="ostree-core.c"
- line="1298">Parsed checksum</doc>
+ line="1275">Parsed checksum</doc>
<type name="utf8" c:type="gchar**"/>
</parameter>
<parameter name="out_objtype"
transfer-ownership="full">
<doc xml:space="preserve"
filename="ostree-core.c"
- line="1299">Parsed object type</doc>
+ line="1276">Parsed object type</doc>
<type name="ObjectType" c:type="OstreeObjectType*"/>
</parameter>
</parameters>
c:identifier="ostree_object_name_deserialize">
<doc xml:space="preserve"
filename="ostree-core.c"
- line="1365">Reverse ostree_object_name_serialize(). Note that @out_checksum is
+ line="1342">Reverse ostree_object_name_serialize(). Note that @out_checksum is
only valid for the lifetime of @variant, and must not be freed.</doc>
<source-position filename="ostree-core.h" line="364"/>
<return-value transfer-ownership="none">
<parameter name="variant" transfer-ownership="none">
<doc xml:space="preserve"
filename="ostree-core.c"
- line="1367">A #GVariant of type (su)</doc>
+ line="1344">A #GVariant of type (su)</doc>
<type name="GLib.Variant" c:type="GVariant*"/>
</parameter>
<parameter name="out_checksum"
transfer-ownership="none">
<doc xml:space="preserve"
filename="ostree-core.c"
- line="1368">Pointer into string memory of @variant with checksum</doc>
+ line="1345">Pointer into string memory of @variant with checksum</doc>
<type name="utf8" c:type="const char**"/>
</parameter>
<parameter name="out_objtype"
transfer-ownership="full">
<doc xml:space="preserve"
filename="ostree-core.c"
- line="1369">Return object type</doc>
+ line="1346">Return object type</doc>
<type name="ObjectType" c:type="OstreeObjectType*"/>
</parameter>
</parameters>
<return-value transfer-ownership="none">
<doc xml:space="preserve"
filename="ostree-core.c"
- line="1354">A new floating #GVariant containing checksum string and objtype</doc>
+ line="1331">A new floating #GVariant containing checksum string and objtype</doc>
<type name="GLib.Variant" c:type="GVariant*"/>
</return-value>
<parameters>
<parameter name="checksum" transfer-ownership="none">
<doc xml:space="preserve"
filename="ostree-core.c"
- line="1351">An ASCII checksum</doc>
+ line="1328">An ASCII checksum</doc>
<type name="utf8" c:type="const char*"/>
</parameter>
<parameter name="objtype" transfer-ownership="none">
<doc xml:space="preserve"
filename="ostree-core.c"
- line="1352">An object type</doc>
+ line="1329">An object type</doc>
<type name="ObjectType" c:type="OstreeObjectType"/>
</parameter>
</parameters>
<return-value transfer-ownership="full">
<doc xml:space="preserve"
filename="ostree-core.c"
- line="1286">A string containing both @checksum and a stringifed version of @objtype</doc>
+ line="1263">A string containing both @checksum and a stringifed version of @objtype</doc>
<type name="utf8" c:type="char*"/>
</return-value>
<parameters>
<parameter name="checksum" transfer-ownership="none">
<doc xml:space="preserve"
filename="ostree-core.c"
- line="1283">An ASCII checksum</doc>
+ line="1260">An ASCII checksum</doc>
<type name="utf8" c:type="const char*"/>
</parameter>
<parameter name="objtype" transfer-ownership="none">
<doc xml:space="preserve"
filename="ostree-core.c"
- line="1284">Object type</doc>
+ line="1261">Object type</doc>
<type name="ObjectType" c:type="OstreeObjectType"/>
</parameter>
</parameters>
c:identifier="ostree_object_type_from_string">
<doc xml:space="preserve"
filename="ostree-core.c"
- line="1254">The reverse of ostree_object_type_to_string().</doc>
+ line="1231">The reverse of ostree_object_type_to_string().</doc>
<source-position filename="ostree-core.h" line="354"/>
<return-value transfer-ownership="none">
<type name="ObjectType" c:type="OstreeObjectType"/>
<parameter name="str" transfer-ownership="none">
<doc xml:space="preserve"
filename="ostree-core.c"
- line="1256">A stringified version of #OstreeObjectType</doc>
+ line="1233">A stringified version of #OstreeObjectType</doc>
<type name="utf8" c:type="const char*"/>
</parameter>
</parameters>
c:identifier="ostree_object_type_to_string">
<doc xml:space="preserve"
filename="ostree-core.c"
- line="1223">Serialize @objtype to a string; this is used for file extensions.</doc>
+ line="1200">Serialize @objtype to a string; this is used for file extensions.</doc>
<source-position filename="ostree-core.h" line="351"/>
<return-value transfer-ownership="none">
<type name="utf8" c:type="const char*"/>
<parameter name="objtype" transfer-ownership="none">
<doc xml:space="preserve"
filename="ostree-core.c"
- line="1225">an #OstreeObjectType</doc>
+ line="1202">an #OstreeObjectType</doc>
<type name="ObjectType" c:type="OstreeObjectType"/>
</parameter>
</parameters>
throws="1">
<doc xml:space="preserve"
filename="ostree-core.c"
- line="478">Convert from a "bare" file representation into an
+ line="460">Convert from a "bare" file representation into an
OSTREE_OBJECT_TYPE_FILE stream suitable for ostree pull.</doc>
<source-position filename="ostree-core.h" line="412"/>
<return-value transfer-ownership="none">
<parameter name="input" transfer-ownership="none">
<doc xml:space="preserve"
filename="ostree-core.c"
- line="480">File raw content stream</doc>
+ line="462">File raw content stream</doc>
<type name="Gio.InputStream" c:type="GInputStream*"/>
</parameter>
<parameter name="file_info" transfer-ownership="none">
<doc xml:space="preserve"
filename="ostree-core.c"
- line="481">A file info</doc>
+ line="463">A file info</doc>
<type name="Gio.FileInfo" c:type="GFileInfo*"/>
</parameter>
<parameter name="xattrs"
allow-none="1">
<doc xml:space="preserve"
filename="ostree-core.c"
- line="482">Optional extended attributes</doc>
+ line="464">Optional extended attributes</doc>
<type name="GLib.Variant" c:type="GVariant*"/>
</parameter>
<parameter name="out_input"
transfer-ownership="full">
<doc xml:space="preserve"
filename="ostree-core.c"
- line="483">Serialized object stream</doc>
+ line="465">Serialized object stream</doc>
<type name="Gio.InputStream" c:type="GInputStream**"/>
</parameter>
<parameter name="cancellable"
allow-none="1">
<doc xml:space="preserve"
filename="ostree-core.c"
- line="484">Cancellable</doc>
+ line="466">Cancellable</doc>
<type name="Gio.Cancellable" c:type="GCancellable*"/>
</parameter>
</parameters>
throws="1">
<doc xml:space="preserve"
filename="ostree-core.c"
- line="505">Like ostree_raw_file_to_archive_z2_stream(), but supports an extensible set
+ line="487">Like ostree_raw_file_to_archive_z2_stream(), but supports an extensible set
of flags. The following flags are currently defined:
- `compression-level` (`i`): Level of compression to use, 0–9, with 0 being
<parameter name="input" transfer-ownership="none">
<doc xml:space="preserve"
filename="ostree-core.c"
- line="507">File raw content stream</doc>
+ line="489">File raw content stream</doc>
<type name="Gio.InputStream" c:type="GInputStream*"/>
</parameter>
<parameter name="file_info" transfer-ownership="none">
<doc xml:space="preserve"
filename="ostree-core.c"
- line="508">A file info</doc>
+ line="490">A file info</doc>
<type name="Gio.FileInfo" c:type="GFileInfo*"/>
</parameter>
<parameter name="xattrs"
allow-none="1">
<doc xml:space="preserve"
filename="ostree-core.c"
- line="509">Optional extended attributes</doc>
+ line="491">Optional extended attributes</doc>
<type name="GLib.Variant" c:type="GVariant*"/>
</parameter>
<parameter name="options"
allow-none="1">
<doc xml:space="preserve"
filename="ostree-core.c"
- line="510">A GVariant `a{sv}` with an extensible set of flags</doc>
+ line="492">A GVariant `a{sv}` with an extensible set of flags</doc>
<type name="GLib.Variant" c:type="GVariant*"/>
</parameter>
<parameter name="out_input"
transfer-ownership="full">
<doc xml:space="preserve"
filename="ostree-core.c"
- line="511">Serialized object stream</doc>
+ line="493">Serialized object stream</doc>
<type name="Gio.InputStream" c:type="GInputStream**"/>
</parameter>
<parameter name="cancellable"
allow-none="1">
<doc xml:space="preserve"
filename="ostree-core.c"
- line="512">Cancellable</doc>
+ line="494">Cancellable</doc>
<type name="Gio.Cancellable" c:type="GCancellable*"/>
</parameter>
</parameters>
throws="1">
<doc xml:space="preserve"
filename="ostree-core.c"
- line="545">Convert from a "bare" file representation into an
+ line="527">Convert from a "bare" file representation into an
OSTREE_OBJECT_TYPE_FILE stream. This is a fundamental operation
for writing data to an #OstreeRepo.</doc>
<source-position filename="ostree-core.h" line="430"/>
<parameter name="input" transfer-ownership="none">
<doc xml:space="preserve"
filename="ostree-core.c"
- line="547">File raw content stream</doc>
+ line="529">File raw content stream</doc>
<type name="Gio.InputStream" c:type="GInputStream*"/>
</parameter>
<parameter name="file_info" transfer-ownership="none">
<doc xml:space="preserve"
filename="ostree-core.c"
- line="548">A file info</doc>
+ line="530">A file info</doc>
<type name="Gio.FileInfo" c:type="GFileInfo*"/>
</parameter>
<parameter name="xattrs"
allow-none="1">
<doc xml:space="preserve"
filename="ostree-core.c"
- line="549">Optional extended attributes</doc>
+ line="531">Optional extended attributes</doc>
<type name="GLib.Variant" c:type="GVariant*"/>
</parameter>
<parameter name="out_input"
transfer-ownership="full">
<doc xml:space="preserve"
filename="ostree-core.c"
- line="550">Serialized object stream</doc>
+ line="532">Serialized object stream</doc>
<type name="Gio.InputStream" c:type="GInputStream**"/>
</parameter>
<parameter name="out_length"
transfer-ownership="full">
<doc xml:space="preserve"
filename="ostree-core.c"
- line="551">Length of stream</doc>
+ line="533">Length of stream</doc>
<type name="guint64" c:type="guint64*"/>
</parameter>
<parameter name="cancellable"
allow-none="1">
<doc xml:space="preserve"
filename="ostree-core.c"
- line="552">Cancellable</doc>
+ line="534">Cancellable</doc>
<type name="Gio.Cancellable" c:type="GCancellable*"/>
</parameter>
</parameters>
<function name="repo_commit_traverse_iter_cleanup"
c:identifier="ostree_repo_commit_traverse_iter_cleanup"
moved-to="RepoCommitTraverseIter.cleanup">
- <source-position filename="ostree-repo.h" line="1205"/>
+ <source-position filename="ostree-repo.h" line="1237"/>
<return-value transfer-ownership="none">
<type name="none" c:type="void"/>
</return-value>
<return-value transfer-ownership="none">
<doc xml:space="preserve"
filename="ostree-core.c"
- line="2078">%TRUE if @checksum is a valid ASCII SHA256 checksum</doc>
+ line="2055">%TRUE if @checksum is a valid ASCII SHA256 checksum</doc>
<type name="gboolean" c:type="gboolean"/>
</return-value>
<parameters>
<parameter name="checksum" transfer-ownership="none">
<doc xml:space="preserve"
filename="ostree-core.c"
- line="2075">an ASCII string</doc>
+ line="2052">an ASCII string</doc>
<type name="utf8" c:type="const char*"/>
</parameter>
</parameters>
throws="1">
<doc xml:space="preserve"
filename="ostree-core.c"
- line="2200">Use this to validate the basic structure of @commit, independent of
+ line="2177">Use this to validate the basic structure of @commit, independent of
any other objects it references.</doc>
<source-position filename="ostree-core.h" line="518"/>
<return-value transfer-ownership="none">
<doc xml:space="preserve"
filename="ostree-core.c"
- line="2208">%TRUE if @commit is structurally valid</doc>
+ line="2185">%TRUE if @commit is structurally valid</doc>
<type name="gboolean" c:type="gboolean"/>
</return-value>
<parameters>
<parameter name="commit" transfer-ownership="none">
<doc xml:space="preserve"
filename="ostree-core.c"
- line="2202">A commit object, %OSTREE_OBJECT_TYPE_COMMIT</doc>
+ line="2179">A commit object, %OSTREE_OBJECT_TYPE_COMMIT</doc>
<type name="GLib.Variant" c:type="GVariant*"/>
</parameter>
</parameters>
<return-value transfer-ownership="none">
<doc xml:space="preserve"
filename="ostree-core.c"
- line="2064">%TRUE if @checksum is a valid binary SHA256 checksum</doc>
+ line="2041">%TRUE if @checksum is a valid binary SHA256 checksum</doc>
<type name="gboolean" c:type="gboolean"/>
</return-value>
<parameters>
<parameter name="checksum" transfer-ownership="none">
<doc xml:space="preserve"
filename="ostree-core.c"
- line="2061">a #GVariant of type "ay"</doc>
+ line="2038">a #GVariant of type "ay"</doc>
<type name="GLib.Variant" c:type="GVariant*"/>
</parameter>
</parameters>
throws="1">
<doc xml:space="preserve"
filename="ostree-core.c"
- line="2352">Use this to validate the basic structure of @dirmeta.</doc>
+ line="2329">Use this to validate the basic structure of @dirmeta.</doc>
<source-position filename="ostree-core.h" line="526"/>
<return-value transfer-ownership="none">
<doc xml:space="preserve"
filename="ostree-core.c"
- line="2359">%TRUE if @dirmeta is structurally valid</doc>
+ line="2336">%TRUE if @dirmeta is structurally valid</doc>
<type name="gboolean" c:type="gboolean"/>
</return-value>
<parameters>
<parameter name="dirmeta" transfer-ownership="none">
<doc xml:space="preserve"
filename="ostree-core.c"
- line="2354">A dirmeta object, %OSTREE_OBJECT_TYPE_DIR_META</doc>
+ line="2331">A dirmeta object, %OSTREE_OBJECT_TYPE_DIR_META</doc>
<type name="GLib.Variant" c:type="GVariant*"/>
</parameter>
</parameters>
throws="1">
<doc xml:space="preserve"
filename="ostree-core.c"
- line="2240">Use this to validate the basic structure of @dirtree, independent of
+ line="2217">Use this to validate the basic structure of @dirtree, independent of
any other objects it references.</doc>
<source-position filename="ostree-core.h" line="522"/>
<return-value transfer-ownership="none">
<doc xml:space="preserve"
filename="ostree-core.c"
- line="2248">%TRUE if @dirtree is structurally valid</doc>
+ line="2225">%TRUE if @dirtree is structurally valid</doc>
<type name="gboolean" c:type="gboolean"/>
</return-value>
<parameters>
<parameter name="dirtree" transfer-ownership="none">
<doc xml:space="preserve"
filename="ostree-core.c"
- line="2242">A dirtree object, %OSTREE_OBJECT_TYPE_DIR_TREE</doc>
+ line="2219">A dirtree object, %OSTREE_OBJECT_TYPE_DIR_TREE</doc>
<type name="GLib.Variant" c:type="GVariant*"/>
</parameter>
</parameters>
<return-value transfer-ownership="none">
<doc xml:space="preserve"
filename="ostree-core.c"
- line="2337">%TRUE if @mode represents a valid file type and permissions</doc>
+ line="2314">%TRUE if @mode represents a valid file type and permissions</doc>
<type name="gboolean" c:type="gboolean"/>
</return-value>
<parameters>
<parameter name="mode" transfer-ownership="none">
<doc xml:space="preserve"
filename="ostree-core.c"
- line="2334">A Unix filesystem mode</doc>
+ line="2311">A Unix filesystem mode</doc>
<type name="guint32" c:type="guint32"/>
</parameter>
</parameters>
<return-value transfer-ownership="none">
<doc xml:space="preserve"
filename="ostree-core.c"
- line="2046">%TRUE if @objtype represents a valid object type</doc>
+ line="2023">%TRUE if @objtype represents a valid object type</doc>
<type name="gboolean" c:type="gboolean"/>
</return-value>
<parameters>